diff options
Diffstat (limited to 'test/Sema/block-misc.c')
-rw-r--r-- | test/Sema/block-misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Sema/block-misc.c b/test/Sema/block-misc.c index 52cebfe..1109be6 100644 --- a/test/Sema/block-misc.c +++ b/test/Sema/block-misc.c @@ -87,8 +87,7 @@ int test7(void (^p)()) { void test8() { somelabel: - // FIXME: This should say "jump out of block not legal" when gotos are allowed. - ^{ goto somelabel; }(); // expected-error {{goto not allowed in block literal}} + ^{ goto somelabel; }(); // expected-error {{use of undeclared label 'somelabel'}} } void test9() { |