blob: 75f5314116aed653b1fef2954b12d4ffea2f1195 [file] [log] [blame]
/* PR target/49281 */
extern void abort (void);
__attribute__((noinline, noclone)) int
foo (int x)
{
return (x << 2) | 4;
}
__attribute__((noinline, noclone)) int
bar (int x)
{
return (x << 2) | 3;
}
int
main ()
{
if (foo (43) != 172 || foo (1) != 4 || foo (2) != 12)
abort ();
if (bar (43) != 175 || bar (1) != 7 || bar (2) != 11)
abort ();
return 0;
}