projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7d9882763796512dcae5fe73fe2d873f2ebb8720
[oota-llvm.git]
/
test
/
FrontendC++
/
2009-02-16-CtorNames-dbg.cpp
1
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
2
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | not grep comp_ctor
3
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | not grep comp_dtor
4
class A {
5
int i;
6
public:
7
A() { i = 0; }
8
~A() { i = 42; }
9
};
10
11
A a;
12