Invalid Code class Foo { virtual void foo () { } } void main () { }