Skip to content
Snippets Groups Projects
Commit 81d0503a authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[tests] update oracle

Since this test is supposed to check the order in which globals are presented
after AST reordering, such oracle changes must be considered carefully. Here,
there's no dependency between `j` and `k`, so that they can indeed be swapped.
This in fact better reflect the original global list before reordering

NB: `l` is always at the very top of the list, despite being inserted last. This
might warrant investigation at some point. However, the resulting AST after
reordering is correct, which is the main goal.
parent fc95fe10
No related branches found
No related tags found
No related merge requests found
......@@ -30,10 +30,10 @@ void g(void);
/*@ logic ℤ l= 1;
*/
int x;
/*@ logic ℤ k= l;
*/
/*@ logic ℤ j= l;
*/
/*@ logic ℤ k= l;
*/
/*@ logic ℤ i= j + k;
*/
/*@ ensures i ≡ i; */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment