summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/arc-no-arc-exceptions.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/arc-no-arc-exceptions.m')
-rw-r--r--clang/test/CodeGenObjC/arc-no-arc-exceptions.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/arc-no-arc-exceptions.m b/clang/test/CodeGenObjC/arc-no-arc-exceptions.m
index 3338ad8477b..31d1dd53763 100644
--- a/clang/test/CodeGenObjC/arc-no-arc-exceptions.m
+++ b/clang/test/CodeGenObjC/arc-no-arc-exceptions.m
@@ -42,6 +42,7 @@ void NSLog(id, ...);
void test2(void) {
@autoreleasepool {
__attribute__((__blocks__(byref))) int x;
+ ^{ (void)x; };
NSLog(@"Address of x outside of block: %p", &x);
}
}
OpenPOWER on IntegriCloud