repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ORC-RT][LoongArch] Add initial support for loongarch64 in ELFNixPlatform (#123575)
[llvm-project.git]
/
clang
/
test
/
Sema
/
builtin-counted-by-ref.cpp
blob
b9ec9c908dcaa66fca0baa40762128ea61b49f09
1
// RUN: %clang_cc1 -x c++ -fsyntax-only -verify %s
2
3
struct
fam_struct
{
4
int
x
;
5
char
count
;
6
int
array
[]
__attribute__
((
counted_by
(
count
)));
// expected-warning {{'counted_by' attribute ignored}}
7
};
8