Modified test [#CLICKHOUSE-2756].

This commit is contained in:
Alexey Milovidov 2017-01-20 07:27:51 +03:00
parent 2468021bbb
commit 63c3870fd0

View File

@ -12,6 +12,14 @@ int main(int argc, char ** argv)
std::cerr << f.get<String>() << "\n";
f = Field{String{"Hello, world!"}};
std::cerr << f.get<String>() << "\n";
f = Field{Array{Field{String{"Hello, world!!"}}}};
std::cerr << f.get<Array>()[0].get<String>() << "\n";
f = String{"Hello, world!!!"};
std::cerr << f.get<String>() << "\n";
f = Array{Field{String{"Hello, world!!!!"}}};
std::cerr << f.get<Array>()[0].get<String>() << "\n";
f = Array{String{"Hello, world!!!!!"}};
std::cerr << f.get<Array>()[0].get<String>() << "\n";
return 0;
}