diff options
Diffstat (limited to 'test/Analysis/blocks.m')
-rw-r--r-- | test/Analysis/blocks.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Analysis/blocks.m b/test/Analysis/blocks.m index 7a604dd..ff376d1 100644 --- a/test/Analysis/blocks.m +++ b/test/Analysis/blocks.m @@ -79,9 +79,7 @@ void test2() { void test2_b() { static int y = 0; __block int x; - // This is also a bug, but should be found not by checking the value - // 'x' is bound at block creation. - ^{ y = x + 1; }(); // no-warning + ^{ y = x + 1; }(); // expected-warning {{left operand of '+' is a garbage value}} } void test2_c() { |