aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-28 02:30:41 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-28 02:30:41 +0000
commitf04c795a04f1b9d790007a4a77c4fe10236aa66b (patch)
treec0bfa37eb74c95fcf90abb3d2390efdc8ad9ddf4 /tests
parentade8b310cf4e34c466ff10d9583102870768728f (diff)
non-negative value
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1146 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests')
-rw-r--r--tests/114-bit-string-SE.asn116
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/114-bit-string-SE.asn1 b/tests/114-bit-string-SE.asn1
new file mode 100644
index 00000000..5006b067
--- /dev/null
+++ b/tests/114-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)
+-- .114
+
+ModuleBitStringNegativeInteger
+ { iso org(3) dod(6) internet (1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 114 }
+ DEFINITIONS ::=
+BEGIN
+
+ T ::= BIT STRING { one(-2) }
+
+END