summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr63835.c
blob: 435966b19074a7511f18581a86f442dabe92cdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-Os" } */

int a;

int
fn1 (int p)
{
  return -p;
}

void
fn2 ()
{
  fn1 (-(unsigned int) a);
}