blob: fcd4974a7611c99078e4013f1a9d3a7a3ecf0a9b [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -ast-print %s | FileCheck %s
Douglas Gregor097bfb12009-10-23 22:18:25 +00002namespace 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}