Sign in
ara-mdk
/
platform
/
external
/
clang
/
2710ed8fd997be04ff447b8be2190f8fb34ac22b
/
.
/
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}}