1 // RUN: %clang_cc1 -fsyntax-only %s -verify 2 3 // <rdar://problem/11286701> 4 namespace std { 5 template<typename T, typename U> class pair; 6 } 7 8 @interface NSObject 9 @end 10 11 @interface Test : NSObject 12 @end 13 14 @implementation Test 15 16 struct EvilStruct { 17 } // expected-error {{expected ';' after struct}} 18 19 typedef std::pair<int, int> IntegerPair; 20 21 template<typename...Ts> void f(Ts); // expected-error {{unexpanded}} expected-warning {{extension}} 22 23 @end 24