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

11 lines
116 B
C++

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