diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-17 04:02:31 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-17 04:02:31 +0000 |
commit | a2fb9bcd1917a54e21b079c889f5660bf97723bf (patch) | |
tree | b9e62db3855d57f45f8e24c94beabf5d5f201f84 /clang/test/CodeGenCXX/function-template-specialization.cpp | |
parent | df0e62d0a16c75c168f776eebab38cee6cfcfd6f (diff) | |
download | bcm5719-llvm-a2fb9bcd1917a54e21b079c889f5660bf97723bf.tar.gz bcm5719-llvm-a2fb9bcd1917a54e21b079c889f5660bf97723bf.zip |
Substitute unscoped template names.
llvm-svn: 82119
Diffstat (limited to 'clang/test/CodeGenCXX/function-template-specialization.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/function-template-specialization.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
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); } |