| 1 |
// PR c++/67302 |
| 2 |
// { dg-additional-options -fdump-tree-gimple } |
| 3 |
// { dg-final { scan-tree-dump-not "<retval> = a" "gimple" } } |
| 4 |
|
| 5 |
struct A |
| 6 |
{ |
| 7 |
int ar[42]; |
| 8 |
A(); |
| 9 |
}; |
| 10 |
|
| 11 |
A f() { |
| 12 |
A a; |
| 13 |
return (a); // The parens should not inhibit NRVO. |
| 14 |
} |