blob: 13250943e92c931b8ef1b28de6f8d7beaa1c1718 [file] [log] [blame]
Douglas Gregor097bfb12009-10-23 22:18:25 +00001// RUN: clang-cc -fsyntax-only -ast-print %s | FileCheck %s
2namespace N {
3 template<typename T, typename U> void f(U);
4 template<int> void f();
5}
6
7void g() {
8 // CHECK: N::f<int>(3.14
9 N::f<int>(3.14);
10
11 // CHECK: N::f<double>
12 void (*fp)(int) = N::f<double>;
13}