aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor6.C
blob: fd87fe495a2522d260d4da64a35527c9d2a7f4af (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/47041
// { dg-do compile { target c++11 } }
// { dg-options "-fno-elide-constructors" }

struct S
{
  int i;
};

S s = S ();