blob: cc27181744d96ac85331401246e22965a5f3e9ac [file] [log] [blame]
// PR c++/28513
class foo { // { dg-message "declared here" }
public:
typedef int bar;
};
class baz {
public:
foo::bar foo; // { dg-error "changes meaning" }
};