projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re-styled
[mono.git]
/
mcs
/
tests
/
gtest-329.cs
1
using System;
2
3
public class NullableInt
4
{
5
public static void Main()
6
{
7
object x = null;
8
9
int? y = x as int?; /* Causes CS0077 */
10
11
Console.WriteLine("y: '{0}'", y);
12
Console.WriteLine("y.HasValue: '{0}'", y.HasValue);
13
}
14
}