aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/function-template-specialization.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-17 04:02:31 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-17 04:02:31 +0000
commit03c9d530dbdcbb00b0b1ac0abced5dcce2e21408 (patch)
tree4f4a67f81631b2430fa60a80956b9a55dbb13bd4 /test/CodeGenCXX/function-template-specialization.cpp
parent6793966aa221764f579cc8436bd641e1ec339c6d (diff)
Substitute unscoped template names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/function-template-specialization.cpp')
-rw-r--r--test/CodeGenCXX/function-template-specialization.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/CodeGenCXX/function-template-specialization.cpp b/test/CodeGenCXX/function-template-specialization.cpp
index 8dbaf2fe4d..677be4cc0f 100644
--- a/test/CodeGenCXX/function-template-specialization.cpp
+++ b/test/CodeGenCXX/function-template-specialization.cpp
@@ -8,12 +8,10 @@ T* next(T* ptr, const U& diff) {
}
void test(int *iptr, float *fptr, int diff) {
- // FIXME: should be "_Z4nextIiiEPT_S1_RKT0_"
- // CHECK: _Z4nextIiiEPT_S0_RKT0_
+ // CHECK: _Z4nextIiiEPT_S1_RKT0_
iptr = next(iptr, diff);
- // FIXME: should be "_Z4nextIfiEPT_S1_RKT0_"
- // CHECK: _Z4nextIfiEPT_S0_RKT0_
-
+
+ // CHECK: _Z4nextIfiEPT_S1_RKT0_
fptr = next(fptr, diff);
}
@@ -22,7 +20,7 @@ T* next(T* ptr, const U& diff);
void test2(int *iptr, double *dptr, int diff) {
iptr = next(iptr, diff);
- // FIXME: should be "_Z4nextIdiEPT_S1_RKT0_"
- // CHECK: _Z4nextIiiEPT_S0_RKT0_
+
+ // CHECK: _Z4nextIdiEPT_S1_RKT0_
dptr = next(dptr, diff);
}