blob: cfc739439284caf016ec046e9a00626555da495f [file] [log] [blame]
// { dg-do run { target c++14_down } }
// { dg-options "-fno-elide-constructors" }
int copies;
struct S {
S () {}
S (const S&) { ++copies; }
};
S s[1] = { S () };
int main () {
if (copies != 1)
return 1;
}