aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
blob: 8f1b598aa2bf482b69c7da7dcba283d94e54afd6 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
class A {
  int i;
public:
  A() { i = 0; }
 ~A() { i = 42; }
};

A a;