mirror of https://github.com/microsoft/clang.git
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:
parent
c915bc9489
commit
e71eb2386f
|
@ -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;
|
||||
|
Loading…
Reference in New Issue