Home | History | Annotate | Download | only in FixIt
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 // FIXME: The diagnostics and recovery here are very, very poor.
      4 
      5 // PR10355
      6 template<typename T> void template_id1() { // expected-note {{'template_id1' declared here}} \
      7   // expected-note {{possible target for call}}
      8   template_id2<> t; // expected-error {{no template named 'template_id2'; did you mean 'template_id1'?}} \
      9   // expected-error {{expected ';' after expression}} \
     10   // expected-error {{reference to overloaded function could not be resolved; did you mean to call it?}} \
     11   // expected-error {{use of undeclared identifier 't'}}
     12  }
     13