repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
rdr-6211479-array-property.m
blob
873adb5dc8dcb3636313c4aa9c63210e4c533748
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
typedef int T[2];
4
5
@interface A
6
@property(assign) T p2; // expected-error {{property cannot have array or function type 'T' (aka 'int[2]')}}
7
@end