1 /* 2 REQUIRED_ARGS: 3 PERMUTE_ARGS: 4 */ 5 6 /************************************************************/ 7 8 /* 9 TEST_OUTPUT: 10 --- 11 fail_compilation/pragmas.d(103): Error: boolean expression expected for pragma(inline) 12 fail_compilation/pragmas.d(108): Error: boolean expression expected for pragma(inline) 13 fail_compilation/pragmas.d(113): Error: pragma(inline, true or false) expected, not `"string"` 14 fail_compilation/pragmas.d(118): Error: unrecognized `pragma(unrecognized)` 15 --- 16 */ 17 18 #line 100 test1()19void test1() 20 { 21 pragma(inline); 22 pragma(inline, true, false); 23 } 24 test2()25void test2() 26 { 27 pragma(inline, true, false); 28 } 29 test3()30void test3() 31 { 32 pragma(inline, "string"); 33 } 34 test4()35void test4() 36 { 37 pragma(unrecognized, "string"); 38 } 39 40 41