view 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
line wrap: on
line source

// RUN: %clang_cc1 -fsyntax-only -verify %s
// <rdar://problem/6211479>

typedef int T[2];

@interface A
@property(assign) T p2; // expected-error {{property cannot have array or function type 'T' (aka 'int [2]')}}
@end