2014-01-15 03:35:09 +08:00
|
|
|
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple %s -o - | FileCheck %s
|
2009-12-08 13:40:03 +08:00
|
|
|
|
|
|
|
template<typename T> void a(T);
|
|
|
|
template<> void a(int) {}
|
|
|
|
|
2013-08-15 14:47:53 +08:00
|
|
|
// CHECK-LABEL: define void @_Z1aIiEvT_
|
2009-12-08 13:40:03 +08:00
|
|
|
|
|
|
|
namespace X {
|
|
|
|
template<typename T> void b(T);
|
|
|
|
template<> void b(int) {}
|
|
|
|
}
|
|
|
|
|
2013-08-15 14:47:53 +08:00
|
|
|
// CHECK-LABEL: define void @_ZN1X1bIiEEvT_
|