summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/stmtexpr3.C
blob: 9a3205c080a6988a57a46466f6d5975b5b5886e2 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/16112
// { dg-options "" }

struct A
{
    A();
};

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