blob: 7f59f275e228ca12774a345d9a872dde9c01a361 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/diag12380.d(12): Error: cannot implicitly convert expression `E.a` of type `E` to `void*`
---
*/
enum E { a, b, }
void main()
{
void* a = E.init;
}