aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle-subst.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-26 03:55:37 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-26 03:55:37 +0000
commitd99edc44300b36732a14c294c93899ba28d479ea (patch)
treeca715d5a1f13e172d2b2a950e2fb4a09d0565364 /test/CodeGenCXX/mangle-subst.cpp
parente7c9645c002d2ff639f7d24f94ffe793795eabcc (diff)
Mangle record types as decls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-subst.cpp')
-rw-r--r--test/CodeGenCXX/mangle-subst.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGenCXX/mangle-subst.cpp b/test/CodeGenCXX/mangle-subst.cpp
index fb0e990902..2ff375e711 100644
--- a/test/CodeGenCXX/mangle-subst.cpp
+++ b/test/CodeGenCXX/mangle-subst.cpp
@@ -24,3 +24,10 @@ namespace A {
// CHECK: define void @_Z1fN1A1AENS_1BE(
void f(A::A a, A::B b) { }
+
+struct C {
+ struct D { };
+};
+
+// CHECK: define void @_Z1fN1C1DERS_PS_S1_(
+void f(C::D, C&, C*, C&) { }