Fix unused warnings.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.c-torture / execute / pr36321.c
blob1edf8e415258c7cd19081e0546b4a61fd49d77db
1 extern void abort (void);
3 extern __SIZE_TYPE__ strlen (const char *);
4 void foo(char *str)
6 int len2 = strlen (str);
7 char *a = (char *) __builtin_alloca (0);
8 char *b = (char *) __builtin_alloca (len2*3);
10 if ((int) (a-b) < (len2*3))
12 #ifdef _WIN32
13 abort ();
14 #endif
15 return;
19 static char * volatile argp = "pr36321.x";
21 int main(int argc, char **argv)
23 foo (argp);
24 return 0;