[Mono-bugs] [Bug 53786][Maj] New - int* is not emitted

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 3 Feb 2004 04:37:01 -0500 (EST)


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 marek.safar@seznam.cz.

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

--- shadow/53786	2004-02-03 04:37:01.000000000 -0500
+++ shadow/53786.tmp.29594	2004-02-03 04:37:01.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 53786
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: int* is not emitted
+
+// This code contains two bugs.
+// The 1st: int* is not generated as Int32* but only like Int32.
+// The 2nd: inside constructor is emited redundant local variable.
+
+public unsafe struct I {
+        unsafe public I (int* ptr)
+	{
+	}
+}
+
+public class MainClass {
+        public static void Main () {}
+}