mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 22:50:55 +00:00
cb12c508cb
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6706 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
174 B
C++
17 lines
174 B
C++
|
|
|
|
struct foo {
|
|
int y;
|
|
foo();
|
|
virtual int T() = 0;
|
|
};
|
|
|
|
struct bar : public foo {
|
|
bar();
|
|
int T() {}
|
|
};
|
|
|
|
foo::foo() : y(4) { }
|
|
bar::bar() { }
|
|
int main() { return 0; }
|