2 // { dg-options "-std=c++0x" }
4 // Test throw and catch
8 typedef decltype(nullptr) nullptr_t;
15 printf("Test 1 Fail");
17 printf("Test 1 Fail");
19 printf("Test 1 Fail");
21 printf("Test 1 Fail");
25 printf("Test 1 Fail");
26 } // { dg-output "Test 1 OK" }
32 printf("Test 2 Fail");
34 printf("Test 2 Fail");
36 printf("Test 2 Fail");
38 printf("Test 2 Fail");
42 printf("Test 2 Fail");
43 } // { dg-output "Test 2 OK" }