Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / verbose-asm-2.c
blob747bff1875e21672b8ce83b28ab818720708e1d5
1 /* Ensure that the -fverbose-asm leads to source code information in the generated asm. */
2 /* { dg-options "-fverbose-asm" } */
4 int test (int n)
6 int i;
7 int total = 0;
9 for (i = 0; i < n; i++)
10 total += i * i;
12 return total;
15 /* { dg-final { scan-assembler "total = 0" } } */