summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-ssa/pr37084.C
blob: 8fceb0cbbf34328c85a53982bc968a4829ee4a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR tree-optimization/37084
// { dg-do compile }
// { dg-options "-O" }

struct A
{
  A ();
};

inline A
foo ()
{
  return A ();
}

const A a (foo ());