diff options
Diffstat (limited to 'test/Sema/block-misc.c')
| -rw-r--r-- | test/Sema/block-misc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/Sema/block-misc.c b/test/Sema/block-misc.c index 0ca4f20f3695..c57b3e141064 100644 --- a/test/Sema/block-misc.c +++ b/test/Sema/block-misc.c @@ -184,8 +184,8 @@ void test17() {  }  void test18() { -  void (^const  blockA)(void) = ^{ }; -  blockA = ^{ }; // expected-error {{read-only variable is not assignable}} +  void (^const  blockA)(void) = ^{ };  // expected-note {{variable 'blockA' declared const here}} +  blockA = ^{ }; // expected-error {{cannot assign to variable 'blockA' with const-qualified type 'void (^const)(void)}}  }  // rdar://7072507 | 
