diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-01-16 21:52:44 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-01-16 21:52:44 +0300 |
commit | 41b32e7b763c8744e381d4985aec86c0e6006dcd (patch) | |
tree | 3266d96ec85949dc6fc63e0adec3686827bf8014 /mcs/errors/bug17.cs | |
parent | 06a058d20faaf59e2e4c3ff454955c15f2fed1f1 (diff) |
add new bug
svn path=/trunk/mcs/; revision=2003
Diffstat (limited to 'mcs/errors/bug17.cs')
-rwxr-xr-x | mcs/errors/bug17.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/bug17.cs b/mcs/errors/bug17.cs new file mode 100755 index 00000000000..29a1365ba8f --- /dev/null +++ b/mcs/errors/bug17.cs @@ -0,0 +1,9 @@ +// we do not flag the lack of member ToBoolean in double +// +class X { + static void Main () + { +double x = 64.0; +System.Console.WriteLine("x = " + x.ToBoolean(null)); +} +} |