* makefile: add some tests
authorJackson Harper <jackson@novell.com>
Fri, 7 Mar 2003 07:14:32 +0000 (07:14 -0000)
committerJackson Harper <jackson@novell.com>
Fri, 7 Mar 2003 07:14:32 +0000 (07:14 -0000)
* test-5.il, test-6.il, test-7.il: New tests, test field declaration

svn path=/trunk/mcs/; revision=12301

mcs/ilasm/tests/ChangeLog
mcs/ilasm/tests/makefile
mcs/ilasm/tests/test-5.il [new file with mode: 0644]
mcs/ilasm/tests/test-6.il [new file with mode: 0644]
mcs/ilasm/tests/test-7.il [new file with mode: 0644]

index c88d2e0084c9accd75e6dfe3f39bbfb85c5f07fe..0860eaef8a4f5bb8c61264ad1699ad0f7bf4a100 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-06 Jackson Harper <jackson@latitudegeo.com>
+
+       * makefile: add some tests
+       * test-5.il, test-6.il, test-7.il: New tests, test field declaration
+
 2003-02-10 Jackson Harper <jackson@latitudegeo.com>
 
        * makefile: remove unneeded rm's
index df67ffae08f181b75e7502b5de5625eeb3191787..399b520ab5e8ebd89e06e3377eb5a687e3909009 100755 (executable)
@@ -1,7 +1,7 @@
 ILASM=mono ../ilasm.exe
 VERIFY=../../tools/verifier.exe
 
-TEST_SOURCES = test-1 test-2 test-3 test-4
+TEST_SOURCES = test-1 test-2 test-3 test-4 test-5 test-6 test-7
 
 all: test-compiler
 
diff --git a/mcs/ilasm/tests/test-5.il b/mcs/ilasm/tests/test-5.il
new file mode 100644 (file)
index 0000000..ddb7ba6
--- /dev/null
@@ -0,0 +1,23 @@
+//
+// Mono.ILASM.Tests
+//
+// Author(s):
+//  Jackson Harper (Jackson@LatitudeGeo.com)
+//
+// (C) 2003 Jackson Harper, All rights reserved
+//
+.assembly extern mscorlib { }
+.assembly test_5 { }
+.module test_5.exe
+
+.namespace Mono.ILASM.Tests {
+
+       .class public auto ansi Test_5 extends [mscorlib]System.Object {
+               
+               /// <summary>
+               ///  field that references a primative type
+               /// </summary>
+               .field public string int_field
+       }
+}
+
diff --git a/mcs/ilasm/tests/test-6.il b/mcs/ilasm/tests/test-6.il
new file mode 100644 (file)
index 0000000..829b8c4
--- /dev/null
@@ -0,0 +1,23 @@
+//
+// Mono.ILASM.Tests
+//
+// Author(s):
+//  Jackson Harper (Jackson@LatitudeGeo.com)
+//
+// (C) 2003 Jackson Harper, All rights reserved
+//
+.assembly extern mscorlib { }
+.assembly test_6 { }
+.module test_6.exe
+
+.namespace Mono.ILASM.Tests {
+
+       .class public auto ansi Test_6 extends [mscorlib]System.Object {
+       
+               /// <summary>
+               ///  Field that references a type in this assembly
+               /// </summary>
+               .field public Mono.ILASM.A a_field
+       }
+}
+
diff --git a/mcs/ilasm/tests/test-7.il b/mcs/ilasm/tests/test-7.il
new file mode 100644 (file)
index 0000000..9e7b4d3
--- /dev/null
@@ -0,0 +1,23 @@
+//
+// Mono.ILASM.Tests
+//
+// Author(s):
+//  Jackson Harper (Jackson@LatitudeGeo.com)
+//
+// (C) 2003 Jackson Harper, All rights reserved
+//
+.assembly extern mscorlib { }
+.assembly test_7 { }
+.module test_7.exe
+
+.namespace Mono.ILASM.Tests {
+
+       .class public auto ansi Test_7 extends [mscorlib]System.Object {
+       
+               /// <summary>
+               ///   field that references an external type 
+               /// </summary>
+               .field public [Cscompmgd]Microsoft.CSharp.Compiler a_compiler
+       }
+}
+