mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-12 19:18:48 +00:00
Testcase for PR160
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bc9988b1a
commit
f095db1237
26
test/C++Frontend/2003-11-27-MultipleInheritanceThunk.cpp
Normal file
26
test/C++Frontend/2003-11-27-MultipleInheritanceThunk.cpp
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user