llvm-6502/test/C++Frontend/2003-06-08-VirtualFunctions.cpp
2003-06-16 12:05:38 +00:00

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() {
}