projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test case for r106438.
[oota-llvm.git]
/
test
/
FrontendC++
/
2010-06-21-LocalVarDbg.cpp
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