aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-13 12:37:32 +0000
committerLev Walkin <vlm@lionet.info>2004-08-13 12:37:32 +0000
commitedefed0d35fc2caea6ed0f502735985f6c930146 (patch)
treef9dd0fe114907e84849f85ca6ed9ac0d5db379a8
parent26b6e0471c5f0c07064b1ac31be9e07c38bab90e (diff)
multiple IMPORTS fix check
-rw-r--r--tests/49-real-life-OK.asn122
-rw-r--r--tests/49-real-life-OK.asn1.-E8
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/49-real-life-OK.asn1 b/tests/49-real-life-OK.asn1
new file mode 100644
index 00000000..ef633fcb
--- /dev/null
+++ b/tests/49-real-life-OK.asn1
@@ -0,0 +1,22 @@
+
+-- OK: Everything is fine
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .49
+
+ModuleSetChoiceExtensibility
+ { iso org(3) dod(6) internet (1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 49 }
+ DEFINITIONS ::=
+BEGIN
+ /*
+ * 0.8.17 had problem parsing this module
+ */
+
+ EXPORTS TypeA ;
+
+ IMPORTS TypeB FROM ModuleB
+ TypeC FROM ModuleC ;
+
+END
diff --git a/tests/49-real-life-OK.asn1.-E b/tests/49-real-life-OK.asn1.-E
new file mode 100644
index 00000000..268da5e5
--- /dev/null
+++ b/tests/49-real-life-OK.asn1.-E
@@ -0,0 +1,8 @@
+
+ModuleSetChoiceExtensibility {iso(-1) org(3) dod(6) internet(1) private(4)
+ enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
+ 49 }
+DEFINITIONS ::=
+BEGIN
+
+END