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