Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}