summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/arc-no-arc-exceptions.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/arc-no-arc-exceptions.m')
-rw-r--r--test/CodeGenObjC/arc-no-arc-exceptions.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenObjC/arc-no-arc-exceptions.m b/test/CodeGenObjC/arc-no-arc-exceptions.m
index 3338ad8477bc..31d1dd537635 100644
--- a/test/CodeGenObjC/arc-no-arc-exceptions.m
+++ b/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);
}
}