1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -debug-info-kind=limited -fblocks -emit-llvm -o - %s | FileCheck %s
2 // Assignment and block entry should point to the same line.
4 // CHECK: define{{.*}}@main()
5 // CHECK: store {{.*}}, !dbg ![[ASSIGNMENT:[0-9]+]]
6 // CHECK: define {{.*}} @__main_block_invoke
7 // CHECK: , ![[BLOCK_ENTRY:[0-9]+]])
11 // CHECK: [[ASSIGNMENT]] = !DILocation(line: [[@LINE+2]],
12 // CHECK: [[BLOCK_ENTRY]] = !DILocation(line: [[@LINE+1]],
13 int (^blockptr
)(void) = ^(void) {