2 * This program checks if the compiler/RTL does have correct support
6 #include "test_config.h"
13 static TTestClass
* this_pointer
{};
14 static bool isDataCorrupt
= false;
18 unsigned char data
[256];
25 // Generate a sequence of numbers (0 - 255)
26 for (int i
= 0; i
< 256; i
++)
34 if (this != this_pointer
)
37 ACE_ERROR ((LM_ERROR
, "ERROR: Invalid this %@ != %@\n", this, this_pointer
));
40 // Check if number sequence is still the same
41 for (int i
= 0; i
< 256; i
++)
52 std::vector
<std::string
> SomeData
;
55 void SomeFunction(std::string
)
62 std::string str
= "branch_b";
64 if (str
== "branch_a")
68 else if (str
== "branch_b")
71 throw std::runtime_error("Some exception");
76 run_main (int, ACE_TCHAR
*[])
78 ACE_START_TEST (ACE_TEXT("Compiler_Features_40_Test"));
91 ACE_ERROR((LM_ERROR
, "ERROR: Invalid data\n"));
96 ACE_DEBUG ((LM_DEBUG
, "Correct data\n"));