From a2fb9bcd1917a54e21b079c889f5660bf97723bf Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Thu, 17 Sep 2009 04:02:31 +0000 Subject: Substitute unscoped template names. llvm-svn: 82119 --- clang/test/CodeGenCXX/function-template-specialization.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'clang/test/CodeGenCXX/function-template-specialization.cpp') diff --git a/clang/test/CodeGenCXX/function-template-specialization.cpp b/clang/test/CodeGenCXX/function-template-specialization.cpp index 8dbaf2fe4d4..677be4cc0f9 100644 --- a/clang/test/CodeGenCXX/function-template-specialization.cpp +++ b/clang/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); } -- cgit v1.2.3