1
0
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:
Devang Patel 2009-02-17 00:15:08 +00:00
parent 9a8e419015
commit e5f6fef86c

View 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;