xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/pr15753.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc template <typename T> static int Foo(T t);
4*f4a2713aSLionel Sambuc template <typename T>
Foo(T t)5*f4a2713aSLionel Sambuc int Foo(T t) {
6*f4a2713aSLionel Sambuc   return t;
7*f4a2713aSLionel Sambuc }
Foo(int i)8*f4a2713aSLionel Sambuc template<> int Foo<int>(int i) {
9*f4a2713aSLionel Sambuc   return i;
10*f4a2713aSLionel Sambuc }
11*f4a2713aSLionel Sambuc 
12*f4a2713aSLionel Sambuc // CHECK-NOT: define
13