1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/diag7477.d(13): Error: cannot implicitly convert expression `0` of type `int` to `Foo` 5 fail_compilation/diag7477.d(20): Error: cannot implicitly convert expression `0` of type `int` to `string` 6 --- 7 */ 8 9 struct Foo { int x; } 10 11 enum Bar : Foo 12 { 13 a, 14 b, 15 c 16 } 17 18 enum Baz : string 19 { 20 a, 21 b, 22 } 23