]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/debug-info-block.c
Vendor import of clang RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / debug-info-block.c
1 // RUN: %clang_cc1 -fblocks -g -emit-llvm -o - %s | FileCheck %s
2 // Verify that the desired debugging type is generated for a structure
3 //  member that is a pointer to a block. 
4
5 // CHECK: __block_literal_generic{{.*}}DW_TAG_structure_type
6 // CHECK: __block_descriptor{{.*}}DW_TAG_structure_type
7 struct inStruct {
8   void (^genericBlockPtr)();
9 } is;
10