summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr31847.c
blob: 4b945a994aa8f12e2dab93f6857dc02f7d1c3677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR 31847 */

/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-pre-all" } */

extern int bar(int);

int foo()
{
  int a = 0;
  return bar(a);
}

/* { dg-final { scan-tree-dump-not "Created value  for " "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */