1 // RUN: %clang_cc1 -fsyntax-only "-triple" "x86_64-apple-macosx10.10.0" -fobjc-runtime-has-weak -fobjc-weak %s -verify %s
4 // expected-warning@-1 {{ignoring redefinition of Objective-C qualifier macro}}
6 // expected-warning@-1 {{ignoring redefinition of Objective-C qualifier macro}}
7 #define __unsafe_unretained
8 // expected-warning@-1 {{ignoring redefinition of Objective-C qualifier macro}}
10 // No warning because this is the default expansion anyway.
12 // Check that this still expands to the right text.
14 goto label; // expected-error {{cannot jump from this goto statement to its label}}
15 __weak id x; // expected-note {{jump bypasses initialization of __weak variable}}