summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/pr23295.c
blob: 0418964a709b7df5450404a1793c58d9f03f6e2d (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple" } */

int foo(int i)
{
  return -i - 5;
}

/* { dg-final { scan-tree-dump "-5 - i" "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
OpenPOWER on IntegriCloud