summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/b20045.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/b20045.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/b20045.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/b20045.d b/gcc/testsuite/gdc.test/compilable/b20045.d
new file mode 100644
index 00000000000..988bbca5d96
--- /dev/null
+++ b/gcc/testsuite/gdc.test/compilable/b20045.d
@@ -0,0 +1,2 @@
+alias U = const ubyte[uint.sizeof]*;
+static assert (is(U == const(ubyte[4]*)));