☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.target
/
s390
/
pr100281-2.C
☽
☼
gcc/testsuite/g++.target/s390/pr100281-2.C
code
plain
raw
1
// PR C++/100281
2
// { dg-do compile }
3
4
typedef int & __attribute__((mode (SI))) __ref32_t;
5
6
void foo () {
7
unsigned int b = 100;
8
__ref32_t a = b; /* { dg-error "cannot bind non-const lvalue reference of type '__ref32_t'.*" } */
9
}