1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
3 void *objc_autoreleasepool_push(void);
4 void autoreleasepool_pop(void*);
9 - (void) unregisterTask:(id) task {
10 goto L; // expected-error {{cannot jump}}
12 @autoreleasepool { // expected-note {{jump bypasses auto release push of @autoreleasepool block}}
13 void *tmp = objc_autoreleasepool_push();
15 autoreleasepool_pop(tmp);