blob: 48d821508dd62a0c3574b6b646b79861f0fa0c7d [file] [log] [blame]
Devang Patel0a805d12010-06-21 18:37:23 +00001// 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.
4class A {
5public:
6 ~A() { int i = 0; i++; }
7};
8
9int foo(int i) {
10 A a;
11 return 0;
12}
13