a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
269 B
C#
28 lines
269 B
C#
using System;
|
|
|
|
class X
|
|
{
|
|
static int Test (int? a)
|
|
{
|
|
switch (a) {
|
|
case 0:
|
|
return 0;
|
|
case 1:
|
|
return 1;
|
|
|
|
default:
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
if (Test (null) != -1)
|
|
return 1;
|
|
if (Test (0) != 0)
|
|
return 2;
|
|
|
|
return 0;
|
|
}
|
|
}
|