diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/test19895.d')
-rw-r--r-- | gcc/testsuite/gdc.test/compilable/test19895.d | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/test19895.d b/gcc/testsuite/gdc.test/compilable/test19895.d new file mode 100644 index 00000000000..b2d8e68fe08 --- /dev/null +++ b/gcc/testsuite/gdc.test/compilable/test19895.d @@ -0,0 +1,7 @@ +// https://issues.dlang.org/show_bug.cgi?id=19895 + +void fn() +{ + void[] a; + auto b = cast(byte[0][]) a; +} |