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'" }
}