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

26
cpp/test_array_init.cpp Normal file
View File

@@ -0,0 +1,26 @@
#include <iostream>
class a
{
public:
void* array[16];
int a2[16];
a()
: array()
, a2()
{
}
};
int main( )
{
a o;
for ( int i = 0; i < 16; ++i )
std::cout << o.array[i] << std::endl;
for ( int i = 0; i < 16; ++i )
std::cout << o.a2[i] << std::endl;
return 1;
}