libstdc++: Remove std::__is_pointer and std::__is_scalar [PR115497]
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / pr61078.c
blob40f6ad7df098465d9e8db489d7a94e1741162b10
1 /* This testcase is extracted from s390_emit_prologue. The negation
2 of a 64bit value got split incorrectly on 31 bit. */
4 /* { dg-do run { target { ! lp64 } } } */
5 /* { dg-options "-O2 -mesa" } */
7 extern void abort (void);
9 long long frame_size = 42;
11 int __attribute__((noinline))
12 foo (int a __attribute__((unused)), long long b)
14 return (int)b;
17 int
18 main ()
20 if (frame_size > 0)
22 if (foo (0, -frame_size) != -42)
23 abort ();
25 return 0;