more tests

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@808 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2005-03-18 04:22:14 +00:00
parent 51c3de9934
commit c328a3d1ac
15 changed files with 61 additions and 13 deletions

View File

@ -1,5 +1,5 @@
-- OK: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- OK: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- OK: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- OK: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- SE: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- OK: Everything is fine
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- OK: Everything is fine
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- SE: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- SE: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- SE: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,5 +1,5 @@
-- SE: Semantic Error
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)

View File

@ -1,9 +1,10 @@
-- OK: Everything is fine
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .71
-- .71 1
-- .71 2
ModuleDuplicateTypes1
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)

View File

@ -0,0 +1,23 @@
-- SE: Semantic error
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .75 1
-- .75 1
ModuleDuplicateModuleName
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 75 1 }
DEFINITIONS ::=
BEGIN
END
ModuleDuplicateModuleName
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 75 1 }
DEFINITIONS ::=
BEGIN
END

View File

@ -0,0 +1,23 @@
-- SW: Semantically suspicious
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .76 1
-- .76 2
ModuleDuplicateModuleName
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 76 1 }
DEFINITIONS ::=
BEGIN
END
ModuleDuplicateModuleName
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 76 2 }
DEFINITIONS ::=
BEGIN
END

View File

@ -16,6 +16,7 @@ Where
<arbitrary-name> is arbitrary string, without dots
OK file syntax and semantics are absolutely correct
SE file semantics is wrong
SW file semantics is suspicious (warning)
NP file syntax is incorrect, file not parseable
<compiler-flags> command-line flags for compiler