xref: /minix3/external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p1.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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