// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -Wno-attributes -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
typedef unsigned long size_t;
extern "C"
int
// CHECK-LP: ((void (^)(void))_Block_copy((const void *)(b)))
// radar 7628153
void
// rdar://11239324
void
// CHECK-LP: int aVal = a;
// CHECK-LP: int bVal;