mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
02a239b837
llvm-svn: 66866
15 lines
345 B
C++
15 lines
345 B
C++
// 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
|
|
// FIXME: This is failing on Darwin because of either r66861 or r66859.
|
|
// XFAIL: darwin
|
|
class A {
|
|
int i;
|
|
public:
|
|
A() { i = 0; }
|
|
~A() { i = 42; }
|
|
};
|
|
|
|
A a;
|
|
|