1 // RUN: %clang_cc1 -fsyntax-only -verify -xobjective-c++-header %s
3 template <typename
, typename
>
7 p
// expected-error {{unknown type name 'p'}}
8 private: // expected-error {{'private' is a keyword in Objective-C++}}
9 void f() {} // expected-error {{expected '(' for function-style cast or type construction}}
10 C
<int, decltype(f
)> c
; // expected-error {{use of undeclared identifier 'f'}}
11 // expected-error@-1 {{expected member name}}