aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-08-28 02:33:35 +0000
committerLev Walkin <vlm@lionet.info>2006-08-28 02:33:35 +0000
commit62e48d3deab81f18a1e3e94214a478040d9ef58e (patch)
tree120b92256d83f54fd20f8ecb77a28fcc025c56b8
parentceac1544e8b2e44b277a3baea2a4d90b96a65ed2 (diff)
test referenced value in BIT STRING
-rw-r--r--tests/115-bit-string-OK.asn117
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/115-bit-string-OK.asn1 b/tests/115-bit-string-OK.asn1
new file mode 100644
index 00000000..54334703
--- /dev/null
+++ b/tests/115-bit-string-OK.asn1
@@ -0,0 +1,17 @@
+
+-- OK: Everything is fine
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .115
+
+ModuleBitStringReferencedValue
+ { iso org(3) dod(6) internet (1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 115 }
+ DEFINITIONS ::=
+BEGIN
+
+ T ::= BIT STRING { one(a) }
+ a INTEGER ::= 123
+
+END