aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/compound-literal-2.c
blob: 7e2f304005a1032de349c9667e888e8e3ef08cdd (plain)
1
2
3
4
5
6
7
8
/* PR C/30265, invalid gimple was produced because we did not mark
   the compound literal's decl early enough.  */

int f(float *);
int g(float x)
{
  return f(&(float){x}) + f(&x);
}