mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
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;
|
||
|
|