1*f4a2713aSLionel Sambuc // Without PCH 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include %S/Inputs/typo.hpp -verify %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // With PCH 5*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/Inputs/typo.hpp 6*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include-pch %t -verify %s 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc adjacent_list<int, int> g; 9*f4a2713aSLionel Sambuc // expected-error@-1{{no template named 'adjacent_list'; did you mean 'boost::graph::adjacency_list'?}} 10*f4a2713aSLionel Sambuc // expected-note@Inputs/typo.hpp:5{{'boost::graph::adjacency_list' declared here}} 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc Function<int(int)> f; 13*f4a2713aSLionel Sambuc // expected-error@-1{{no template named 'Function'; did you mean 'boost::function'?}} 14*f4a2713aSLionel Sambuc // expected-note@Inputs/typo.hpp:2{{'boost::function' declared here}} 15