add new bug
authorMiguel de Icaza <miguel@gnome.org>
Wed, 16 Jan 2002 18:52:44 +0000 (18:52 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 16 Jan 2002 18:52:44 +0000 (18:52 -0000)
svn path=/trunk/mcs/; revision=2003

mcs/errors/bug17.cs [new file with mode: 0755]

diff --git a/mcs/errors/bug17.cs b/mcs/errors/bug17.cs
new file mode 100755 (executable)
index 0000000..29a1365
--- /dev/null
@@ -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));
+}
+}