[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / artificial.c
blob71219f547f9293983f05feee2ac44f92dc680c6e
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 inline void __attribute__((artificial)) foo(void) {}
4 void __attribute__((artificial)) bar(void) {} // expected-warning {{'artificial' attribute only applies to inline functions}}