Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.mike/p9732c.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-do assemble } // prms-id: 9732 struct foo {}; foo& x() { return foo(); } // { dg-error "cannot bind non-const lvalue" }