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/dotted-names.il')
-rw-r--r--mcs/ilasm/tests/dotted-names.il28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/dotted-names.il b/mcs/ilasm/tests/dotted-names.il
new file mode 100644
index 00000000000..b67741497c4
--- /dev/null
+++ b/mcs/ilasm/tests/dotted-names.il
@@ -0,0 +1,28 @@
+//Tests dotted names (namespace, class names)
+//It should emit namespace = A.B.C and type name = D
+//For E.F, namespace = E, name = F
+
+.assembly extern mscorlib
+{
+}
+
+.assembly Output
+{
+}
+
+.module Output
+
+.namespace A.B {
+
+.class public auto autochar sealed beforefieldinit C.D
+ extends [mscorlib]System.Object
+{
+}
+
+}
+
+.class public auto autochar sealed beforefieldinit E.F
+ extends [mscorlib]System.Object
+{
+}
+