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