Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag12380.d
blob: f6434f05d9623772cf5bff25bfb3ca2f6fb7dd7e [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag12380.d(12): Error: cannot implicitly convert expression `cast(E)0` of type `E` to `void*`
---
*/
enum
E
{
a
,
b
,
}
void
main
()
{
void
*
a
=
E
.
init
;
}