Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2002-01-16 21:52:44 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-01-16 21:52:44 +0300
commit41b32e7b763c8744e381d4985aec86c0e6006dcd (patch)
tree3266d96ec85949dc6fc63e0adec3686827bf8014 /mcs/errors/bug17.cs
parent06a058d20faaf59e2e4c3ff454955c15f2fed1f1 (diff)
add new bug
svn path=/trunk/mcs/; revision=2003
Diffstat (limited to 'mcs/errors/bug17.cs')
-rwxr-xr-xmcs/errors/bug17.cs9
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));
+}
+}