Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
8c5d4078bb40642847164e7613828262d32db973
/
.
/
test
/
Sema
/
attr-unknown.c
blob: d1a831d6bae9026268069ca36aa4cff53dc8c228 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -Wattributes %s
int
x __attribute__
((
foobar
));
// expected-warning {{unknown attribute 'foobar' ignored}}
void
z
()
__attribute__
((
bogusattr
));
// expected-warning {{unknown attribute 'bogusattr' ignored}}