[Mono-bugs] [Bug 63770][Wis] New - the typeof (void*) is wrong

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 24 Aug 2004 04:02:52 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by malekith@pld-linux.org.

http://bugzilla.ximian.com/show_bug.cgi?id=63770

--- shadow/63770	2004-08-24 04:02:52.000000000 -0400
+++ shadow/63770.tmp.10773	2004-08-24 04:02:52.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 63770
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: malekith@pld-linux.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: the typeof (void*) is wrong
+
+The following program:
+
+class M {
+  public static void Main ()
+  {
+        System.Console.WriteLine (typeof (void));
+        System.Console.WriteLine (typeof (void *));
+        System.Console.WriteLine (typeof (void **));
+  }
+}
+
+prints
+
+System.Void
+System.Void
+System.Void*
+
+instead of
+
+System.Void
+System.Void*
+System.Void**