// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -verify -Wno-objc-root-class %s
// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-weak -verify -Wno-objc-root-class %s
// rdar://9693477
// expected-note 2 {{class is declared here}}
int
// rdar://9732636
NOWEAK *
NOWEAK<P, P1> *
// rdar://10535245
// rdar://13676793
// expected-error {{'objc_arc_weak_reference_unavailable' attribute takes no arguments}}
int I4 ; // expected-error {{'objc_arc_weak_reference_unavailable' attribute only applies to Objective-C interfaces}}