Debian Codegraph @

clang/test/CodeGenCXX/function-template-explicit-specialization.cpp

raw
1 // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple %s -o - | FileCheck %s
2
3 template<typename T> void a(T);
4 template<> void a(int) {}
5
6 // CHECK-LABEL: define {{.*}}void @_Z1aIiEvT_
7
8 namespace X {
9 template<typename T> void b(T);
10 template<> void b(int) {}
11 }
12
13 // CHECK-LABEL: define {{.*}}void @_ZN1X1bIiEEvT_