Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
uneval1.C
blob: dfc1bb4e0c3ef5bd56b16a53e8fa57c72e8fd6f2 [
file
] [
log
] [
blame
]
// PR c++/93314
struct
S
{
int
m
;
static
int
f
()
{
return
sizeof
(
char
[
m
]);
// { dg-error "S::m" }
}
};
int
main
()
{
return
S
().
f
()
+
sizeof
(
char
[
S
::
m
]);
// { dg-error "S::m" }
}