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

View File

@@ -0,0 +1,23 @@
#include <stdio.h>
#include <string>
#include <list>
#include <boost/array.hpp>
#include <boost/variant.hpp>
typedef boost::variant<int,long,double, const char*, _int64, std::string*, boost::array<int,128>*> tVarinat;
int main ()
{
tVarinat v;
std::list<int> l;
printf( "size %d\n", sizeof( tVarinat ) );
printf( "size %d\n", sizeof( std::string ) );
printf( "size %d\n", sizeof( l ) );
printf( "size %d\n", sizeof( boost::array<int,128> ) );
return 0;
}