Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail344.d
blob: 9173740abf2f93606abfbf08e8c0452b76d32c09 [
file
] [
log
] [
blame
]
// 3737
int
crayon
;
struct
SIB
(
alias
junk
)
{
template
Alike
(
V
)
{
enum
bool
Alike
=
Q
==
V
.
garbage
;
}
void
opDispatch
(
string
s
)()
{
static
assert
(
Alike
!(
SIB
!(
crayon
)));
}
}
void
main
()
{
SIB
!(
SIB
!(
crayon
).
E
)(
3.0
);
}