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:
parent
6191c7b9b8
commit
40421b5257
@ -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;
|
Loading…
Reference in New Issue
Block a user