summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20040520-1.c
blob: b42483714375887a1877da0322b54ee0e062dc06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR 15454 */

void abort ();
int main () {
        int foo;
        int bar (void)
        {
                int baz = 0;
                if (foo!=45)
                        baz = foo;
                return baz;
        }
        foo = 1;
        if (!bar ())
                abort ();
        return 0;
}