14 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple %s -o - | FileCheck %s2 3template<typename T> void a(T);4template<> void a(int) {}5 6// CHECK-LABEL: define {{.*}}void @_Z1aIiEvT_7 8namespace X {9template<typename T> void b(T);10template<> void b(int) {}11}12 13// CHECK-LABEL: define {{.*}}void @_ZN1X1bIiEEvT_14