Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
8ca0c1b3
Commit
8ca0c1b3
authored
1 year ago
by
Virgile Prevosto
Committed by
Andre Maroneze
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[tests] test for issue #375
parent
9de8b25b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/syntax/localisation_error.i
+4
-0
4 additions, 0 deletions
tests/syntax/localisation_error.i
tests/syntax/oracle/localisation_error.res.oracle
+10
-0
10 additions, 0 deletions
tests/syntax/oracle/localisation_error.res.oracle
with
14 additions
and
0 deletions
tests/syntax/localisation_error.i
+
4
−
0
View file @
8ca0c1b3
/* run.config*
EXIT: 1
STDOPT:
*/
int
main
()
{
int b = 0;
//@ ghost int a = 2; /*@ assert a == 3; */ /* test */ */
...
...
This diff is collapsed.
Click to expand it.
tests/syntax/oracle/localisation_error.res.oracle
+
10
−
0
View file @
8ca0c1b3
[kernel] Parsing localisation_error.i (no preprocessing)
[kernel] localisation_error.i:7:
syntax error:
Location: line 7, between columns 57 and 58, before or at token: /
5 int main() {
6 int b = 0;
7 //@ ghost int a = 2; /*@ assert a == 3; */ /* test */ */
^
8 }
[kernel] Frama-C aborted: invalid user input.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment