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