Compile fixes
[ACE_TAO.git] / ACE / tests / Compiler_Features_18_Test.cpp
blobee48b20b80ed56bbcd9273dcae144b8e9e70a76e
1 /**
2 * This program checks if the compiler / platform supports strongly
3 * array
4 */
6 #include "test_config.h"
8 #include <array>
9 namespace Test
11 using arrayType = std::array<float, 5>;
12 using array_array = std::array<arrayType, 5>;
15 int
16 run_main (int, ACE_TCHAR *[])
18 ACE_START_TEST (ACE_TEXT("Compiler_Features_18_Test"));
20 Test::array_array v_in = { { Test::arrayType {
21 { 1.0, 2.0, 3.0, 4.0, 5.0 } }, Test::arrayType { { 1.0, 2.0, 3.0, 4.0,
22 5.0 } }, Test::arrayType { { 1.0, 2.0, 3.0, 4.0, 5.0 } },
23 Test::arrayType { { 1.0, 2.0, 3.0, 4.0, 5.0 } }, Test::arrayType { {
24 1.0, 2.0, 3.0, 4.0, 5.0 } } } };
26 ACE_UNUSED_ARG (v_in);
28 ACE_DEBUG ((LM_INFO,
29 ACE_TEXT ("Std arrays work.\n")));
31 ACE_END_TEST;
33 return 0;