* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20120207-1.c
blobc4716aecad80737fd3a1b1f7916ae2777af51909
1 /* PR middle-end/51994 */
2 /* Testcase by Uros Bizjak <ubizjak@gmail.com> */
4 extern char *strcpy (char *, const char *);
5 extern void abort (void);
7 char __attribute__((noinline))
8 test (int a)
10 char buf[16];
11 char *output = buf;
13 strcpy (&buf[0], "0123456789");
15 output += a;
16 output -= 1;
18 return output[0];
21 int main ()
23 if (test (2) != '1')
24 abort ();
26 return 0;