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