mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
f27aca9276
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6693 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
193 B
C++
24 lines
193 B
C++
|
|
|
|
struct foo {
|
|
int y;
|
|
foo();
|
|
virtual int T() = 0;
|
|
};
|
|
|
|
struct bar : public foo {
|
|
//int x;
|
|
bar();
|
|
int T() {}
|
|
};
|
|
|
|
//int bar::X() { return 0; }
|
|
|
|
foo::foo() : y(4) {
|
|
|
|
}
|
|
|
|
bar::bar() {
|
|
|
|
}
|