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:
Diffstat (limited to 'mcs/ilasm/tests/test-comment-a.il')
-rw-r--r--mcs/ilasm/tests/test-comment-a.il38
1 files changed, 38 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-comment-a.il b/mcs/ilasm/tests/test-comment-a.il
new file mode 100644
index 00000000000..e0ed489789a
--- /dev/null
+++ b/mcs/ilasm/tests/test-comment-a.il
@@ -0,0 +1,38 @@
+//
+// Test to make sure comments are being handled properly
+//
+// Author(s):
+// Jackson Harper (jackson@ximian.com)
+//
+// (C) 2003 Ximian, Inc (http://www.ximian.com)
+//
+
+.assembly extern mscorlib { }
+.assembly 'test-comment-a' { }
+
+
+.class public T {
+
+ .method public static int32 Main ()
+ {
+ .entrypoint
+
+ ldc.i4.0
+
+ // ldc.i4.1
+ /**/
+ /* ldc.i4.1 */
+ /*
+ ldc.i4.1
+ */
+
+ /*
+ //
+ */
+
+ ret
+ }
+
+}
+
+