diff options
Diffstat (limited to 'mcs/errors/gcs0019-3.cs')
-rw-r--r-- | mcs/errors/gcs0019-3.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/gcs0019-3.cs b/mcs/errors/gcs0019-3.cs new file mode 100644 index 00000000000..ad101cfe669 --- /dev/null +++ b/mcs/errors/gcs0019-3.cs @@ -0,0 +1,12 @@ +// CS0019: Operator '&&' cannot be applied to operands of type 'bool?' and 'bool?' +// Line: 10 +using System; + +class X +{ + static void Main () + { + bool? a = false, b = false; + Console.WriteLine (a && b); + } +} |