Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC++ / 2003-11-27-MultipleInheritanceThunk.cpp
blob99cfc8d21dff85e4e260bd4f18226945aa48a70d
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
4 struct CallSite {
5 int X;
7 CallSite(const CallSite &CS);
8 };
10 struct AliasAnalysis {
11 int TD;
13 virtual int getModRefInfo(CallSite CS);
17 struct Pass {
18 int X;
19 virtual int foo();
22 struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
23 int getModRefInfo(CallSite CS) {
24 return 0;
28 AliasAnalysisCounter AAC;