* gcc.c-torture/execute/20101011-1.c: Skip on SH.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20001130-2.c
blobc4ef6c7da065f8630e9227e4c44f060e1175ac5b
1 static int which_alternative = 3;
3 static const char *i960_output_ldconst (void);
5 static const char *
6 output_25 (void)
8 switch (which_alternative)
10 case 0:
11 return "mov %1,%0";
12 case 1:
13 return i960_output_ldconst ();
14 case 2:
15 return "ld %1,%0";
16 case 3:
17 return "st %1,%0";
21 static const char *i960_output_ldconst (void)
23 return "foo";
25 int main(void)
27 const char *s = output_25 () ;
28 if (s[0] != 's')
29 abort ();
30 exit (0);