diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-17 00:43:46 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-17 00:43:46 +0000 |
commit | feb60501a830bf2625ffeffdc09be831d741a95f (patch) | |
tree | 2198f37247efbc644ad37a27eb69a4e1d3238575 /clang/test/CodeGenCXX/function-template-specialization.cpp | |
parent | db7ec04fed05dbc3eaa243cdb7ea222d8b6581a9 (diff) | |
download | bcm5719-llvm-feb60501a830bf2625ffeffdc09be831d741a95f.tar.gz bcm5719-llvm-feb60501a830bf2625ffeffdc09be831d741a95f.zip |
Add basic substitution to the C++ mangler. It currently only looks at types.
llvm-svn: 82102
Diffstat (limited to 'clang/test/CodeGenCXX/function-template-specialization.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/function-template-specialization.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/function-template-specialization.cpp b/clang/test/CodeGenCXX/function-template-specialization.cpp index 1d3c5f65ec8..1efb857192b 100644 --- a/clang/test/CodeGenCXX/function-template-specialization.cpp +++ b/clang/test/CodeGenCXX/function-template-specialization.cpp @@ -9,10 +9,10 @@ T* next(T* ptr, const U& diff) { void test(int *iptr, float *fptr, int diff) { // FIXME: should be "_Z4nextIiiEPT_S1_RKT0_" - // RUN: grep "_Z4nextIiiEPiPiRKi" %t && + // RUN: grep "_Z4nextIiiEPiS_RKi" %t && iptr = next(iptr, diff); // FIXME: should be "_Z4nextIfiEPT_S1_RKT0_" - // RUN: grep "_Z4nextIfiEPfPfRKi" %t && + // RUN: grep "_Z4nextIfiEPfS_RKi" %t && fptr = next(fptr, diff); } @@ -22,6 +22,6 @@ 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_" - // RUN: grep "_Z4nextIdiEPdPdRKi" %t + // RUN: grep "_Z4nextIdiEPdS_RKi" %t dptr = next(dptr, diff); } |