Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20410.d
blob: bed8017822b30f2ad9a168928259bbda48fa7634 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20410
enum
E
:
string
{
foo
=
"foo"
}
static
assert
(
is
(
E
:
string
));
static
assert
(
is
(
E
:
T
[],
T
));
static
assert
(!
is
(
E
==
string
));
static
assert
(!
is
(
E
==
T
[],
T
));