summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr38771.c
blob: 7988680dd4653471fb4761327831833ef3eeda77 (plain)
1
2
3
4
5
6
7
/* PR middle-end/38771 */

unsigned long long
foo (long long x)
{
  return -(unsigned long long) (x ? : x);
}