1 // RUN: %clang_cc1 -fsyntax-only -triple i386-apple-darwin9 -fobjc-gc -verify %s 2 3 void f0(__weak id *); 4 5 void test_f0(id *x) { 6 f0(x); 7 } 8 9 @interface A 10 @end 11 12 void f1(__weak id*); 13 void test_f1(__weak A** a) { 14 f1(a); 15 } 16 17 @interface B : A 18 @end 19 20 void f2(__weak A**); 21 void test_f2(__weak B** b) { 22 f2(b); 23 } 24 25