Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr48470.c
blob20343e71bb92a109b209c6d8d5f131e75ef9d930
1 /* { dg-do compile } */
2 /* { dg-require-effective-target naked_functions } */
3 /* { dg-options "-O0" } */
5 extern void g(int *x);
7 void __attribute__((naked)) f(void)
9 int x = 0; /* { dg-error "cannot allocate stack for variable" } */
10 g(&x);