tests/54-constraint-SE.asn1
raw| 1 | |
| 2 | -- SE: Semantic error |
| 3 | |
| 4 | -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) |
| 5 | -- .spelio.software.asn1c.test (9363.1.5.1) |
| 6 | -- .54 |
| 7 | |
| 8 | ModuleInvalidConstraintApplicability1 |
| 9 | { iso org(3) dod(6) internet (1) private(4) enterprise(1) |
| 10 | spelio(9363) software(1) asn1c(5) test(1) 54 } |
| 11 | DEFINITIONS ::= |
| 12 | BEGIN |
| 13 | |
| 14 | StrFine ::= NumericString (FROM(" ".."9")) -- That's fine |
| 15 | StrBad ::= NumericString (FROM("0".."9" | "#")) -- That's bad |
| 16 | |
| 17 | END |