]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/test20410.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / test20410.d
1 // https://issues.dlang.org/show_bug.cgi?id=20410
2
3 enum E : string { foo = "foo" }
4
5 static assert( is(E : string));
6 static assert( is(E : T[], T));
7 static assert(!is(E == string));
8 static assert(!is(E == T[], T));