mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-06 02:47:20 +00:00
f10929dd31
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67215 91177308-0d34-0410-b5e6-96231b3b80d8
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;
|
|
|