mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
70b20a1209
llvm-svn: 67215
11 lines
128 B
C++
11 lines
128 B
C++
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
|
|
class A {
|
|
int i;
|
|
public:
|
|
A() { i = 0; }
|
|
~A() { i = 42; }
|
|
};
|
|
|
|
A a;
|
|
|