Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr55642.c
bloba7defa77d5255a66f327192e570421b9da73511e
1 /* { dg-options "-mthumb -O2" } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_thumb2_ok } */
5 extern int abs (int);
7 int
8 foo (int v)
10 register int i asm ("r0");
11 register int j asm ("r1");
12 if (v > 1)
13 i = abs (j);
15 return i;