Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / over / over.over / p2.cpp
blobd03b84a2d15b1d19c48c1b2b9af6a1e9c3420cdd
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 template <typename T>
4 T f0(T, T); // expected-note{{deduced conflicting types for parameter 'T' ('int' vs. 'float')}}
6 void test_f0() {
7 int (*f0a)(int, int) = f0;
8 int (*f0b)(int, int) = &f0;
9 int (*f0c)(int, float) = f0; // expected-error{{address of overloaded function 'f0' does not match required type 'int (int, float)'}}