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

20
cpp/constStrType.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include <stdio.h>
template <class T>
struct A
{
int f ( T t )
{
//T b = "valod";
printf( "%s %d\n", t, sizeof( t ) );
return sizeof( t );
}
};
int main ( void )
{
A<char*> o;
o.f( "abc" );
return 0;
}