a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
156 B
C#
Executable File
12 lines
156 B
C#
Executable File
// CS0030: Cannot convert type `bool' to `int'
|
|
// Line: 9
|
|
|
|
class X
|
|
{
|
|
static void Main ()
|
|
{
|
|
const bool b = true;
|
|
int a = (int)(b ? true : false);
|
|
}
|
|
}
|