2003-03-17 22:29:22 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
class Foo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Foo()
|
|
|
|
{
|
|
|
|
printf("This one has nonstandard extension\n");
|
|
|
|
}
|
2004-05-01 01:28:54 +04:00
|
|
|
int getnum() { return 0; }
|
2003-03-17 22:29:22 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
int bar()
|
|
|
|
{
|
|
|
|
Foo f;
|
2004-05-01 01:28:54 +04:00
|
|
|
return f.getnum();
|
2003-03-17 22:29:22 +03:00
|
|
|
}
|