Douglas Gregor | 3a348c8 | 2011-07-14 04:54:23 +0000 | [diff] [blame] | 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() { | ||||
7 | template_id2<> t; // expected-error 2{{use of undeclared identifier 'template_id2'; did you mean 'template_id1'?}} \ | ||||
8 | // expected-error{{expected expression}} \ | ||||
9 | // expected-error{{use of undeclared identifier 't'}} | ||||
10 | } | ||||
11 |