simpleWe.cpp
#include <stdio.h>
class Foo
{
public:
Foo() { printf("This one has nonstandard extension\n"); }
int getnum() { return 0; }
};
int bar()
{
Foo f;
return f.getnum();
}
#include <stdio.h>
class Foo
{
public:
Foo() { printf("This one has nonstandard extension\n"); }
int getnum() { return 0; }
};
int bar()
{
Foo f;
return f.getnum();
}