summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/e15876_6.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/e15876_6.d')
-rw-r--r--gcc/testsuite/gdc.test/fail_compilation/e15876_6.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/e15876_6.d b/gcc/testsuite/gdc.test/fail_compilation/e15876_6.d
new file mode 100644
index 00000000000..7547b387dff
--- /dev/null
+++ b/gcc/testsuite/gdc.test/fail_compilation/e15876_6.d
@@ -0,0 +1,7 @@
+/*
+TEST_OUTPUT:
+---
+fail_compilation/e15876_6.d(7): Error: identifier expected following `(type)`.
+---
+*/
+auto unaryExParseError = immutable(int).;