mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 16:18:37 +00:00

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