aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-28 02:33:35 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-28 02:33:35 +0000
commitfad6952dff40817aa834148c05769fa700e0878e (patch)
tree120b92256d83f54fd20f8ecb77a28fcc025c56b8 /tests
parentf04c795a04f1b9d790007a4a77c4fe10236aa66b (diff)
test referenced value in BIT STRING
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1147 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests')
-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