☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
decltype-auto1.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/decltype-auto1.C
code
plain
raw
1
// PR c++/78209
2
// { dg-do compile { target c++14 } }
3
4
int main()
5
{
6
int &&i = 0;
7
decltype(auto) j = i; // { dg-error "cannot bind rvalue reference" }
8
}