Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / temp / temp.decls / temp.fct / temp.func.order / p5.cpp
blob5f2dbb6018ce13d16432827351d249dd849409bf
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 template<class T> int &f(T);
4 template<class T> float &f(T*, int=1);
6 template<class T> int &g(T);
7 template<class T> float &g(T*, ...);
9 int main() {
10 int* ip;
11 float &fr1 = f(ip);
12 float &fr2 = g(ip);