summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr32304.C
blob: 236d00b97cd8da9c99c4260755c18a17102684a9 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile }

struct S {
        S() {}
};
S f() {
        static S s;
        return s;
}