Skip to content
Snippets Groups Projects
Commit eb34e50d authored by Virgile Prevosto's avatar Virgile Prevosto Committed by David Bühler
Browse files

[tests] add test for monitoring usage of local var in declaration of another

parent 59326442
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,11 @@ void f() { ...@@ -11,5 +11,11 @@ void f() {
} }
} }
void h (int i) {
int x = 1;
int t[100 / sizeof(x)];
int u[100 / sizeof(i)];
}
int c; int c;
int g() { return 1 || (-1L || g(), c); } int g() { return 1 || (-1L || g(), c); }
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