blob: c5ed261f6254c34f56f4f00ef3342a57aecfb6aa [file] [log] [blame]
// PR c++/4207
// Origin: <wanderer@rsu.ru>
// { dg-do compile }
typedef int A; // { dg-message "previous" }
enum ::A {}; // { dg-error "typedef-name|expected unqualified-id" }