// RUN: %clang_cc1 -fsyntax-only %s -verify // namespace std { template class pair; } @interface NSObject @end @interface Test : NSObject @end @implementation Test struct EvilStruct { } // note the missing semicolon typedef std::pair IntegerPair; // expected-error{{typedef declarator cannot be qualified}} \ // expected-error{{typedef name must be an identifier}} \ // expected-error{{expected ';' after top level declarator}} @end