1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
2009-03-18 17:45:11 +00:00

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;