Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/concepts/abbrev6.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-do compile { target concepts } } const auto &f(auto) { static int n; return n; } void foo() { f(5) = 0; // { dg-error "read-only" } }