minecraft-pi-reborn/test.cpp

13 lines
117 B
C++
Raw Normal View History

2024-07-15 02:12:08 +00:00
class A {
void hi() {}
int a;
};
class B : public A {
virtual void bye() {}
};
int main() {
B b;
}