Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / typo.cpp
blob6ab66c2cabf7ef2955fca6d03d9be38787d8f7ae
1 // Without PCH
2 // RUN: %clang_cc1 -include %S/Inputs/typo.hpp -verify %s
4 // With PCH
5 // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/Inputs/typo.hpp
6 // RUN: %clang_cc1 -include-pch %t -verify %s
8 adjacent_list<int, int> g;
9 // expected-error@-1{{no template named 'adjacent_list'; did you mean 'boost::graph::adjacency_list'?}}
10 // expected-note@Inputs/typo.hpp:5{{'boost::graph::adjacency_list' declared here}}
12 Function<int(int)> f;
13 // expected-error@-1{{no template named 'Function'; did you mean 'boost::function'?}}
14 // expected-note@Inputs/typo.hpp:2{{'boost::function' declared here}}