Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
sizeof1.C
blob: fd6c6636ef24d476b8d7ccff296305843d441791 [
file
] [
log
] [
blame
]
// PR c++/12989
struct
A
{
int
foo
()
{
return
sizeof
(
bar
);
}
// { dg-error "29:ISO C\\+\\+ forbids applying .sizeof." }
int
bar
();
};