Fix bugs in name translation.
[asn2quickder] / testdata / bad_names.asn
index c4464d7..f90baed 100644 (file)
@@ -28,4 +28,7 @@ BEGIN
 \r
   -- Referenced value inside constraint\r
   Constrained ::= INTEGER (with-dash .. with-dash)\r
+\r
+  -- Negative numbers should not be sanitized\r
+  negative INTEGER ::= -123\r
 END\r