1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Testcase for PR160

llvm-svn: 10247
This commit is contained in:
Chris Lattner 2003-11-28 01:32:03 +00:00
parent 6191c7b9b8
commit 40421b5257

View File

@ -0,0 +1,26 @@
struct CallSite {
int X;
CallSite(const CallSite &CS);
};
struct AliasAnalysis {
int TD;
virtual int getModRefInfo(CallSite CS);
};
struct Pass {
int X;
virtual int foo();
};
struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
int getModRefInfo(CallSite CS) {
return 0;
}
};
AliasAnalysisCounter AAC;