2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0030-8.cs
blobed387372fee682a95451faee389cba45ad3f22de
1 // CS0030: Cannot convert type `bool' to `int'
2 // Line: 9
4 class X
6 static void Main ()
8 const bool b = true;
9 int a = (int)(b ? true : false);