Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
typedef1.C
blob: d44772932edbbcdd07757f13cc55c71cbdec76a3 [
file
] [
log
] [
blame
]
// Build don't link:
typedef
const
struct
{
int
x
;
}
Test
;
void
foo
(
Test
);
void
foo
(
Test
t
)
{
t
.
x
=
0
;
// ERROR - assignment of read-only member
return
;
}