Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
b7f1797a
Commit
b7f1797a
authored
Mar 04, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test for successful compilation
parent
efa53fcf
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
740 additions
and
0 deletions
+740
-0
tests/72-same-names-OK.asn1
tests/72-same-names-OK.asn1
+46
-0
tests/72-same-names-OK.asn1.-P
tests/72-same-names-OK.asn1.-P
+694
-0
No files found.
tests/72-same-names-OK.asn1
0 → 100644
View file @
b7f1797a
-- OK: Everything is Fine
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .72
ModuleTestSameNames
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 72 }
DEFINITIONS ::=
BEGIN
/*
* This test checks whether different top-level types containing
* similarly named inner types may be compiled by the target language
* compiler successfully. This was not the case before asn1c-0.9.11.
*/
Type ::= SET OF SEQUENCE {
t1 Type1,
t2 Type2
}
Type1 ::= SEQUENCE {
one-name CHOICE {
another-name SEQUENCE { a INTEGER, b INTEGER }
}
}
Type2 ::= CHOICE {
one-name SEQUENCE {
another-name SEQUENCE {
a BIT STRING { one(0) } SIZE(2),
b INTEGER
}
},
two-name SET {
another-name SEQUENCE {
a BIT STRING { one(0) } SIZE(2),
b INTEGER
}
}
}
END
tests/72-same-names-OK.asn1.-P
0 → 100644
View file @
b7f1797a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment