Rafael Espindola | 459ef03 | 2013-04-16 02:29:15 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s |
2 | |||||
3 | template <typename T> static int Foo(T t); | ||||
4 | template <typename T> | ||||
5 | int Foo(T t) { | ||||
6 | return t; | ||||
7 | } | ||||
8 | template<> int Foo<int>(int i) { | ||||
9 | return i; | ||||
10 | } | ||||
11 | |||||
12 | // CHECK-NOT: define |