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