diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/test20326.d')
-rw-r--r-- | gcc/testsuite/gdc.test/compilable/test20326.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/test20326.d b/gcc/testsuite/gdc.test/compilable/test20326.d new file mode 100644 index 00000000000..1da3eb6e6dc --- /dev/null +++ b/gcc/testsuite/gdc.test/compilable/test20326.d @@ -0,0 +1,11 @@ +class C; +static assert(C.stringof == "C"); + +interface I; +static assert(I.stringof == "I"); + +union U; +static assert(U.stringof == "U"); + +struct S; +static assert(S.stringof == "S"); |