etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / FixIt / fixit-recursive-block.c
blobb276b417ac963a0aba02ce0e9a91b7ffd019b5ef
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wuninitialized -fblocks -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wuninitialized -fblocks -verify %s
4 // rdar://10817031
6 int main() {
7 void (^arc_fail)() = ^() { // expected-warning {{block pointer variable 'arc_fail' is uninitialized when captured by block}} \
8 // expected-note {{maybe you meant to use __block 'arc_fail'}}
9 arc_fail(); // BOOM
12 // CHECK: {7:12-7:12}:"__block "