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
cee931ee
Commit
cee931ee
authored
Aug 16, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new circular references test
parent
1ce7207c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1101 additions
and
0 deletions
+1101
-0
tests/92-circular-loops-OK.asn1
tests/92-circular-loops-OK.asn1
+49
-0
tests/92-circular-loops-OK.asn1.-P
tests/92-circular-loops-OK.asn1.-P
+519
-0
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
+533
-0
No files found.
tests/92-circular-loops-OK.asn1
0 → 100644
View file @
cee931ee
-- OK: Everything is fine
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .92
ModuleCircularReferences
{ iso org(3) dod(6) internet (1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 92 }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
Everything ::= SEQUENCE {
ch1 Choice1,
ch2 Choice2,
set Set
}
-- This type refers to the type directly containing itself.
Choice1 ::= CHOICE {
something Everything,
...,
some2 Everything
}
Choice2 ::= CHOICE {
...,
some3 Everything
}
Set ::= SET OF SEQUENCE {
int INTEGER,
set Set,
seq Sequence,
set2 Set OPTIONAL,
...,
set3 Set
}
Sequence ::= SEQUENCE {
a INTEGER,
seq Sequence OPTIONAL,
...,
b INTEGER,
set Set OPTIONAL
}
END
tests/92-circular-loops-OK.asn1.-P
0 → 100644
View file @
cee931ee
This diff is collapsed.
Click to expand it.
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
0 → 100644
View file @
cee931ee
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