summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/parseStc4.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/parseStc4.d')
-rw-r--r--gcc/testsuite/gdc.test/fail_compilation/parseStc4.d23
1 files changed, 12 insertions, 11 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/parseStc4.d b/gcc/testsuite/gdc.test/fail_compilation/parseStc4.d
index fee3e085cdb..4bd3a0497aa 100644
--- a/gcc/testsuite/gdc.test/fail_compilation/parseStc4.d
+++ b/gcc/testsuite/gdc.test/fail_compilation/parseStc4.d
@@ -2,11 +2,11 @@
/*
TEST_OUTPUT:
---
-fail_compilation/parseStc4.d(14): Deprecation: redundant attribute `pure`
-fail_compilation/parseStc4.d(14): Deprecation: redundant attribute `nothrow`
+fail_compilation/parseStc4.d(14): Error: redundant attribute `pure`
+fail_compilation/parseStc4.d(14): Error: redundant attribute `nothrow`
fail_compilation/parseStc4.d(14): Error: conflicting attribute `@system`
-fail_compilation/parseStc4.d(14): Deprecation: redundant attribute `@nogc`
-fail_compilation/parseStc4.d(14): Deprecation: redundant attribute `@property`
+fail_compilation/parseStc4.d(14): Error: redundant attribute `@nogc`
+fail_compilation/parseStc4.d(14): Error: redundant attribute `@property`
---
*/
pure nothrow @safe @nogc @property
@@ -19,13 +19,14 @@ pure nothrow @system @nogc @property
/*
TEST_OUTPUT:
---
-fail_compilation/parseStc4.d(34): Deprecation: redundant attribute `const`
-fail_compilation/parseStc4.d(35): Deprecation: redundant attribute `const`
-fail_compilation/parseStc4.d(36): Deprecation: redundant attribute `const`
-fail_compilation/parseStc4.d(38): Deprecation: redundant attribute `pure`
-fail_compilation/parseStc4.d(39): Deprecation: redundant attribute `@safe`
-fail_compilation/parseStc4.d(40): Deprecation: redundant attribute `nothrow`
-fail_compilation/parseStc4.d(41): Error: conflicting attribute `@trusted`
+fail_compilation/parseStc4.d(35): Error: redundant attribute `const`
+fail_compilation/parseStc4.d(36): Error: redundant attribute `const`
+fail_compilation/parseStc4.d(36): Deprecation: `const` postblit is deprecated. Please use an unqualified postblit.
+fail_compilation/parseStc4.d(37): Error: redundant attribute `const`
+fail_compilation/parseStc4.d(39): Error: redundant attribute `pure`
+fail_compilation/parseStc4.d(40): Error: redundant attribute `@safe`
+fail_compilation/parseStc4.d(41): Error: redundant attribute `nothrow`
+fail_compilation/parseStc4.d(42): Error: conflicting attribute `@trusted`
---
*/