Add new test.

llvm-svn: 143706
This commit is contained in:
Devang Patel 2011-11-04 17:12:03 +00:00
parent e502a88b50
commit 45124500bb
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;