diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-26 20:53:44 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-26 20:53:44 +0000 |
commit | e7c8cb6b2728aa98258288d221b09bc66cc05543 (patch) | |
tree | 0e66b70fe4ef23340436601bb909a00105b6200b /test/CodeGenCXX/mangle-subst-std.cpp | |
parent | 1668f2062b237ddb137f5d16388b3dea49651f85 (diff) |
Substitute "::std::" as "St".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-subst-std.cpp')
-rw-r--r-- | test/CodeGenCXX/mangle-subst-std.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGenCXX/mangle-subst-std.cpp b/test/CodeGenCXX/mangle-subst-std.cpp new file mode 100644 index 0000000000..a5ba3ab7d0 --- /dev/null +++ b/test/CodeGenCXX/mangle-subst-std.cpp @@ -0,0 +1,9 @@ +// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s + +namespace std { + struct A { A(); }; + + // CHECK: define void @_ZNSt1AC1Ev + // CHECK: define void @_ZNSt1AC2Ev + A::A() { } +}; |