Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr56961.C
blob: c60cfdb17cd9bfde9a72caf6a4123960a046d09d [
file
] [
log
] [
blame
]
// PR c++/56961
struct
foo
{
};
typedef
struct
{
volatile
foo fields
;
}
CSPHandleState
;
CSPHandleState
a
;
void
fn1
()
{
CSPHandleState
b
;
b
.
fields
=
foo
();
// { dg-error "discards qualifiers" }
}