Skip to content
Snippets Groups Projects
Commit a0e48f90 authored by Thibault Martin's avatar Thibault Martin
Browse files

[tests] Add specifier of implicit ints in tests

parent 7f8bf59b
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ void main5() { ...@@ -128,7 +128,7 @@ void main5() {
} }
} }
volatile v; volatile int v;
int f6() { int f6() {
int i = v; int i = v;
...@@ -141,7 +141,7 @@ void main6() { ...@@ -141,7 +141,7 @@ void main6() {
} }
} }
volatile v; volatile int v;
int v7; int v7;
int* f7() { int* f7() {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
STDOPT: +" -then -unsafe-arrays" STDOPT: +" -then -unsafe-arrays"
*/ */
volatile v; volatile int v;
struct st1 { struct st1 {
long a; long a;
......
...@@ -35,7 +35,7 @@ void main1(int i, int j) { ...@@ -35,7 +35,7 @@ void main1(int i, int j) {
//@ assert p == \null || \valid(p); //@ assert p == \null || \valid(p);
} }
volatile v; volatile int v;
void main2() { void main2() {
int x = 1; int x = 1;
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
STDOPT: +"-eva-domains symbolic-locations -eva-msg-key d-symblocs" STDOPT: +"-eva-domains symbolic-locations -eva-msg-key d-symblocs"
*/ */
volatile v; volatile int v;
int t[10]; extern u[10]; int t[10]; extern int u[10];
void main1() { void main1() {
unsigned int i = v; unsigned int i = v;
......
...@@ -16,7 +16,7 @@ void main2(int i) { ...@@ -16,7 +16,7 @@ void main2(int i) {
} }
} }
volatile v; volatile int v;
void main() { void main() {
main1((float)v); main1((float)v);
......
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