aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle-subst.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-10-16 02:06:06 +0000
committerAnders Carlsson <andersca@mac.com>2009-10-16 02:06:06 +0000
commit410f7640cfa7483132b1524138b1333b9fb9ab33 (patch)
treed2cd48c37e3d9a041fddbf0fbca9b8a594c4e8a3 /test/CodeGenCXX/mangle-subst.cpp
parent04905014fd854979ac12fc31a2b25fca37a93eb4 (diff)
Builtin types are subsitutable if they are qualified. Fixes PR5196.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-subst.cpp')
-rw-r--r--test/CodeGenCXX/mangle-subst.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGenCXX/mangle-subst.cpp b/test/CodeGenCXX/mangle-subst.cpp
index c53a6300aa..46a21b62b5 100644
--- a/test/CodeGenCXX/mangle-subst.cpp
+++ b/test/CodeGenCXX/mangle-subst.cpp
@@ -54,3 +54,8 @@ template<typename T> void ft3(S1<T>, S1<char>) { }
// CHECK: @_ZN2NS3ft3IiEEvNS_2S1IT_EENS1_IcEE
template void ft3<int>(S1<int>, S1<char>);
}
+
+// PR5196
+// CHECK: @_Z1fPKcS0_
+void f(const char*, const char*) {}
+