annotate clang/test/SemaObjC/rdr-6211479-array-property.m @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
anatofuz
parents:
diff changeset
2 // <rdar://problem/6211479>
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 typedef int T[2];
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 @interface A
anatofuz
parents:
diff changeset
7 @property(assign) T p2; // expected-error {{property cannot have array or function type 'T' (aka 'int [2]')}}
anatofuz
parents:
diff changeset
8 @end