summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/pragmas.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/pragmas.d')
-rw-r--r--gcc/testsuite/gdc.test/fail_compilation/pragmas.d12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/pragmas.d b/gcc/testsuite/gdc.test/fail_compilation/pragmas.d
index 33a89218172..25ab15123bf 100644
--- a/gcc/testsuite/gdc.test/fail_compilation/pragmas.d
+++ b/gcc/testsuite/gdc.test/fail_compilation/pragmas.d
@@ -1,16 +1,10 @@
-/*
-REQUIRED_ARGS:
-PERMUTE_ARGS:
-*/
-
/************************************************************/
/*
TEST_OUTPUT:
---
-fail_compilation/pragmas.d(103): Error: boolean expression expected for pragma(inline)
-fail_compilation/pragmas.d(108): Error: boolean expression expected for pragma(inline)
-fail_compilation/pragmas.d(113): Error: pragma(inline, true or false) expected, not `"string"`
+fail_compilation/pragmas.d(103): Error: boolean expression expected for `pragma(inline)`
+fail_compilation/pragmas.d(108): Error: boolean expression expected for `pragma(inline)`
fail_compilation/pragmas.d(118): Error: unrecognized `pragma(unrecognized)`
---
*/
@@ -29,7 +23,7 @@ void test2()
void test3()
{
- pragma(inline, "string");
+ pragma(inline, "string"); // works now
}
void test4()