Add new test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-11-04 17:12:03 +00:00
parent c915bc9489
commit e71eb2386f
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// RUN: %clang_cc1 -fblocks -g -emit-llvm -o - %s | FileCheck %s
// APPLE LOCAL file 5939894 */
// Verify that the desired debugging type is generated for a structure
// member that is a pointer to a block.
// CHECK: __block_literal_generic{{.*}}DW_TAG_structure_type
// CHECK: __block_descriptor{{.*}}DW_TAG_structure_type
struct inStruct {
void (^genericBlockPtr)();
} is;