Sign in
llvm
/
llvm-project
/
refs/tags/llvmorg-3.3.0
/
.
/
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}}