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