diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/test20549.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/test20549.d | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/test20549.d b/gcc/testsuite/gdc.test/fail_compilation/test20549.d new file mode 100644 index 00000000000..2cafc1be9e2 --- /dev/null +++ b/gcc/testsuite/gdc.test/fail_compilation/test20549.d @@ -0,0 +1,12 @@ +/* +TEST_OUTPUT: +---- +fail_compilation/test20549.d(12): Error: variable `test.__a_field_0` variables cannot be of type `void` +---- +*/ + +module test; + +alias AliasSeq(T...) = T; + +enum a = AliasSeq!test; |