Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail15089.d
blob: 221a97871bf17b14eb4011678912c514f7dba742 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail15089.d(10): Error: cannot implicitly convert expression `130` of type `int` to `byte`
---
*/
enum
Pieces
{
Rook
=
2
}
/* line 1 */
immutable
int
color
=
0b10000000
;
byte
piece
=
Pieces
.
Rook
^
color
;