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
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
duplicate-property.m
blob
bc1fe71a15460cbfa100d6fc13bfcbe44f5ca47b
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
@interface Foo {
4
id x;
5
}
6
@property (nonatomic, retain) id x; // expected-note{{property declared here}}
7
@property (nonatomic, retain) id x; // expected-error{{property has a previous declaration}}
8
@end