summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/pr15753.cpp
blob: fd2000be6e3a49556d2b99651767afb42aa4a1dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s

template <typename T> static int Foo(T t);
template <typename T>
int Foo(T t) {
  return t;
}
template<> int Foo<int>(int i) {
  return i;
}

// CHECK-NOT: define