Move all C++ tests to cpp.

This commit is contained in:
2014-05-31 22:55:50 +04:00
parent 1c1c6fe543
commit 7cdff553c8
52 changed files with 0 additions and 0 deletions

34
cpp/call_constructor.cpp Normal file
View File

@@ -0,0 +1,34 @@
#include <stdio.h>
class a
{
public:
a()
{
printf( "kuku\n" );
}
~a()
{
printf( "~a\n" );
}
int f()
{
return 0;
}
};
int main()
{
a o;
// o.a( 0 );
o.~a();
o.f();
reinterpret_cast<a*>(0)->a::a();
}