PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr49281.c
blob75f5314116aed653b1fef2954b12d4ffea2f1195
1 /* PR target/49281 */
3 extern void abort (void);
5 __attribute__((noinline, noclone)) int
6 foo (int x)
8 return (x << 2) | 4;
11 __attribute__((noinline, noclone)) int
12 bar (int x)
14 return (x << 2) | 3;
17 int
18 main ()
20 if (foo (43) != 172 || foo (1) != 4 || foo (2) != 12)
21 abort ();
22 if (bar (43) != 175 || bar (1) != 7 || bar (2) != 11)
23 abort ();
24 return 0;