Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
safecode
/
tools
/
clang
/
test
/
Sema
/
attr-minsize.c
blob: 7b1c6ae66f1bbed5032ebcf39389ce378832d335 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
int
foo
()
__attribute__
((
__minsize__
));
int
var1 __attribute__
((
__minsize__
));
// expected-error{{'__minsize__' attribute only applies to functions and methods}}