cmake/Tests/Simple/simpleWe.cpp
Pierre Habouzit 4c630dbbc0 import cmake 2.6.0
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-10-12 18:41:06 +02:00

18 lines
192 B
C++
Executable File

#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();
}