Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / pr51879-7.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre" } */
3
4 int bar (int);
5
6 int z;
7
8 void
9 foo (int y)
10 {
11   if (y == 6)
12     z = 5;
13   else
14     z = 5;
15 }
16
17 /* { dg-final { scan-tree-dump-times "z = 5" 1 "pre"} } */
18 /* { dg-final { cleanup-tree-dump "pre" } } */