Update dependencies from https://github.com/dotnet/arcade build 20190729.1 (#15881)
[mono-project.git] / mcs / tests / gtest-270.cs
blobd8b9d56791d743cf0f91eab036f6198df32b6207
1 using System;
3 class X
5 static int Test (int? a)
7 switch (a) {
8 case 0:
9 return 0;
10 case 1:
11 return 1;
13 default:
14 return -1;
18 public static int Main ()
20 if (Test (null) != -1)
21 return 1;
22 if (Test (0) != 0)
23 return 2;
25 return 0;