blob: 3f6a7cb91b48f6bb2422670e45a1919b2e0c43e3 [file] [log] [blame]
// PR c++/3004
// Origin: Travis J.I. Corcoran <tjic@permabit.com>
// { dg-do compile }
struct A { typedef A* Ptr; }; // { dg-message "previous declaration" }
struct A::Ptr; // { dg-error "typedef|not declare anything" }