mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Testcase for rev. 64704
llvm-svn: 64705
This commit is contained in:
parent
9a8e419015
commit
e5f6fef86c
12
test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
Normal file
12
test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
|
||||
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | not grep comp_ctor
|
||||
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | not grep comp_dtor
|
||||
class A {
|
||||
int i;
|
||||
public:
|
||||
A() { i = 0; }
|
||||
~A() { i = 42; }
|
||||
};
|
||||
|
||||
A a;
|
||||
|
Loading…
Reference in New Issue
Block a user