summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p9732c.C
blob: 9239a0978ec992daec42668c9a2c2d67bede6c86 (plain)
1
2
3
4
5
// { dg-do assemble  }
// prms-id: 9732

struct foo {};
foo& x() { return foo(); }	// { dg-error "invalid init" }