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 Sambucint Foo(T t) { 6*f4a2713aSLionel Sambuc return t; 7*f4a2713aSLionel Sambuc } Foo(int i)8*f4a2713aSLionel Sambuctemplate<> int Foo<int>(int i) { 9*f4a2713aSLionel Sambuc return i; 10*f4a2713aSLionel Sambuc } 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc // CHECK-NOT: define 13