CMake/Tests/Simple/simpleWe.cpp

15 lines
177 B
C++
Raw Normal View History

2003-03-17 22:29:22 +03:00
#include <stdio.h>
class Foo
2003-03-17 22:29:22 +03:00
{
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
}