Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error55.C
blob: 70af85d91bcc2bd0d992e371e5eb3b90908cee35 [
file
] [
log
] [
blame
]
// PR c++/60845
class
A
{
};
typedef
A B
;
void
foo
(
B
&
a
)
{
a
.
x
();
// { dg-error "'B' {aka 'class A'} has no member named 'x'" }
}