simpleWe.cpp 177 B

1234567891011121314
  1. #include <stdio.h>
  2. class Foo
  3. {
  4. public:
  5. Foo() { printf("This one has nonstandard extension\n"); }
  6. int getnum() { return 0; }
  7. };
  8. int bar()
  9. {
  10. Foo f;
  11. return f.getnum();
  12. }