xref: /llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p1.cpp (revision 8fbe78f6fc7b41d1a4228c126fcb522131150518)
1 // RUN: %clang_cc1 -fsyntax-only %s
2 
3 template<typename T> struct A { };
4 
5 template<typename T> T make();
6 template<typename T> T make2(const T&);
7 
test_make()8 void test_make() {
9   int& ir0 = make<int&>();
10   A<int> a0 = make< A<int> >();
11   A<int> a1 = make2< A<int> >(A<int>());
12 }
13