Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr49000.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR tree-optimization/49000 */ /* { dg-do compile } */ /* { dg-options "-O2 -g" } */ static int foo (int x, int y) { return x * y; } static int bar (int *z) { return *z; } void baz (void) { int a = 42; int *b = &a; foo (bar (&a), 3); } void test (void) { baz (); }