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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
validate-attr-swift_attr.m
blob
4ff434d179725d1bd21f67fda1013d4249caf495
1
// RUN: %clang_cc1 -verify -fsyntax-only %s
2
3
// expected-error@+1 {{'swift_attr' attribute takes one argument}}
4
__attribute__((swift_attr))
5
@interface I
6
@end
7
8
// expected-error@+1 {{'swift_attr' attribute requires a string}}
9
__attribute__((swift_attr(1)))
10
@interface J
11
@end