Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2009-02-16-CtorNames-dbg.cpp
blob8f1b598aa2bf482b69c7da7dcba283d94e54afd6
1 // RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
2 class A {
3 int i;
4 public:
5 A() { i = 0; }
6 ~A() { i = 42; }
7 };
9 A a;