diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-22 06:36:32 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-22 06:36:32 +0000 |
commit | 8257d411a759b91921681c3b7f79e50e0d9252db (patch) | |
tree | cfb376e0650e963bca0870581e5d67a64a873741 /test/CodeGenCXX/member-functions.cpp | |
parent | fc4020a4fac183c47a2eadaf2aa62a4fb77447ca (diff) | |
download | clang-8257d411a759b91921681c3b7f79e50e0d9252db.tar.gz |
Make sure that we mangle overloaded operators that are member functions correctly, giving them the correct arity.
With this seemingly insignificant fix, we are now able to build and link clang using clang itself! (LLVM still has to be built with gcc for the time being).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/member-functions.cpp')
-rw-r--r-- | test/CodeGenCXX/member-functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/member-functions.cpp b/test/CodeGenCXX/member-functions.cpp index ebc9ed758b..087e62c5bb 100644 --- a/test/CodeGenCXX/member-functions.cpp +++ b/test/CodeGenCXX/member-functions.cpp @@ -58,6 +58,6 @@ struct T { void test3() { T t1, t2; - // RUN: grep "call i64 @_ZN1TpsERKS_" %t + // RUN: grep "call i64 @_ZN1TplERKS_" %t T result = t1 + t2; } |