aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-28 02:12:49 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-28 02:12:49 +0000
commitb9cdbb1be33de0b74eb01a408f31edcec807dcf4 (patch)
tree9fa25e03522d52be8ef595d5293d5f29f6114446 /tests
parent24238062e650e8e2a0ca67815888a60419db8bd4 (diff)
test whether bit string values are identifiers
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1143 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests')
-rw-r--r--tests/109-bit-string-SE.asn116
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/109-bit-string-SE.asn1 b/tests/109-bit-string-SE.asn1
new file mode 100644
index 00000000..a07f7a1c
--- /dev/null
+++ b/tests/109-bit-string-SE.asn1
@@ -0,0 +1,16 @@
+
+-- SE: Semantic error
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .109
+
+ModuleBitStringExtensibility
+ { iso org(3) dod(6) internet (1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 109 }
+ DEFINITIONS ::=
+BEGIN
+
+ T ::= BIT STRING { one(1), ... }
+
+END