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
[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git]
/
clang
/
test
/
Parser
/
c2x-attributes.m
blob
2cce8990d2a2cf3c08d14d51f260e45254913e88
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
enum __attribute__((deprecated)) E1 : int; // ok
5
enum [[deprecated]] E2 : int;
6
7
@interface Base
8
@end
9
10
@interface S : Base
11
- (void) bar;
12
@end
13
14
@interface T : Base
15
- (S *) foo;
16
@end
17
18
19
void f(T *t) {
20
[[]][[t foo] bar];
21
}