Devang Patel | 0a805d1 | 2010-06-21 18:37:23 +0000 | [diff] [blame] | 1 | // RUN: %llvmgxx -g -Os -S %s -o - | llvm-as -disable-output |
2 | // Do not use function name to create named metadata used to hold | ||||
3 | // local variable info. For example. llvm.dbg.lv.~A is an invalid name. | ||||
4 | class A { | ||||
5 | public: | ||||
6 | ~A() { int i = 0; i++; } | ||||
7 | }; | ||||
8 | |||||
9 | int foo(int i) { | ||||
10 | A a; | ||||
11 | return 0; | ||||
12 | } | ||||
13 |