llvm-6502/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp

11 lines
128 B
C++
Raw Normal View History

// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
class A {
int i;
public:
A() { i = 0; }
~A() { i = 42; }
};
A a;