Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
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
();
};