diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-23 22:31:44 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-23 22:31:44 +0000 |
commit | f28c687866aed1ed7b4b9ddf44a51673861236cf (patch) | |
tree | ab58d372326158de1c00a53830a9a9563820dfb4 /test/CodeGenCXX/mangle.cpp | |
parent | 7c8f9b77e1348bdeaf7046f75f44a800af857615 (diff) |
Mangle block pointer types. Fixes PR5858.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r-- | test/CodeGenCXX/mangle.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp index e57fbe3433..e8770dfec3 100644 --- a/test/CodeGenCXX/mangle.cpp +++ b/test/CodeGenCXX/mangle.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s +// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks | FileCheck %s struct X { }; struct Y { }; @@ -306,3 +306,6 @@ template<typename T, typename = Policy<P, true> > class Alloc // CHECK: define i8* @_ZN6PR58615AllocIcNS_6PolicyINS_1PELb1EEEE8allocateEiPKv template class Alloc<char>; } + +// CHECK: define void @_Z1fU13block_pointerFiiiE +void f(int (^)(int, int)) { }
\ No newline at end of file |