PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20030221-1.c
blob9dcee3e23384cfd2b745a7cce14f0843d552e0f8
1 /* PR optimization/8613 */
2 /* Contributed by Glen Nakamura */
4 extern void abort (void);
6 int main (void)
8 char buf[16] = "1234567890";
9 char *p = buf;
11 *p++ = (char) __builtin_strlen (buf);
13 if ((buf[0] != 10) || (p - buf != 1))
14 abort ();
16 return 0;