// RUN: %clang_cc1 -fblocks -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -DDEAD_CODE -fblocks -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
typedef void ;
void ;
typedef void ;
void ;
// Verify that the desired DIExpression are generated for escaping (i.e, not
// 'noescape') blocks.
void
// Verify that the desired DIExpression are generated for noescape blocks.
void
// Verify that the desired DIExpression are generated for blocks.
void
// Verify that the desired DIExpression are generated for __block vars not used
// in any block.
void
// CHECK: ![[ESCAPE_VAR]] = !DILocalVariable(name: "escape_var"
// CHECK: ![[NOESCAPE_VAR]] = !DILocalVariable(name: "noescape_var"
// CHECK: ![[BLOCK_VAR]] = !DILocalVariable(name: "block_var"
// CHECK: ![[UNUSED_VAR]] = !DILocalVariable(name: "unused_var"