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