// RUN: %clang_cc1 -fsyntax-only %s -std=c++1z -verify // PR7511 template // expected-error +{{}} struct int_; template // expected-error +{{}} template struct ac { typedef T1 ae }; templatestruct aaa { typedef ac<1,int,int>::ae ae // expected-error +{{}} }; template struct state_machine { typedef aaa::ae aaa; int start() { ant(0); } template struct region_processing_helper { template struct In; template struct In,my>; // expected-error +{{}} template int process(Event) { In > a; // expected-error +{{}} } } // expected-error +{{}} template int ant(Event) { region_processing_helper* helper; helper->process(0) // expected-error +{{}} } }; int a() { state_machine p; p.ant(0); } // PR9974 template struct enable_if; template struct remove_reference ; template struct remove_reference<_Tp&> ; template struct __tuple_like; template ::type>::value> struct __tuple_convertible; struct pair { template::value>::type> pair(_Tuple&& ); }; template struct basic_ostream; template void endl( ) ; extern basic_ostream cout; int operator<<( basic_ostream , pair ) ; // expected-note +{{}} void register_object_imp ( ) { cout << endl<1>; // expected-error +{{}} } // PR12933 namespace PR12933 { template // expected-error +{{}} template void function(S a, T b) {} int main() { function(0, 1); // expected-error +{{}} return 0; } } // A buildbot failure from libcxx namespace libcxx_test { template struct __pointer_traits_element_type; template struct __pointer_traits_element_type<_Ptr, true>; template