Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / c90-auto-1.c
blobf00f767c50a7769ad2604ea1d8f38e1f8c46e2b1
1 /* Test auto with implicit int for C90. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c90 -pedantic-errors" } */
5 void
6 f (void)
8 /* This should have type int following C90 rules, whereas in C2x it
9 would have type double. */
10 auto x = 1.5;
11 int *p = &x;