Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
test
/
Sema
/
attr-minsize.c
blob: 59bdd5663ff4db3176c1dab51e33d1d4ebb0ea7f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
int
foo
(
void
)
__attribute__
((
__minsize__
));
int
var1 __attribute__
((
__minsize__
));
// expected-error{{'__minsize__' attribute only applies to functions and Objective-C methods}}