diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-12-21 00:29:11 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-12-21 00:29:11 +0300 |
commit | c3ab5e0fc79f764e562376e8e6cf0f5193f1ab82 (patch) | |
tree | 798aafed4adca127eaf53515f97624e2fe3b480b /mcs/errors/bug8.cs | |
parent | 428530724b3b8fc3a209abc4afd9a5b696d8734f (diff) |
Flush
svn path=/trunk/mcs/; revision=1661
Diffstat (limited to 'mcs/errors/bug8.cs')
-rwxr-xr-x | mcs/errors/bug8.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/bug8.cs b/mcs/errors/bug8.cs new file mode 100755 index 00000000000..47846f7c4c9 --- /dev/null +++ b/mcs/errors/bug8.cs @@ -0,0 +1,20 @@ +using System; + +// +// The problem here is that `(Type)' is being recognized as a Property +// but inside a Cast expression this is invalid. +// +class X { + + int Type { + get { + return 1; + } + } + + static void Main () + { + Type t = (Type) null; + } + +} |