[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / builtins-arm-msvc-compat-error.c
blob29469deb6a700e13e1370a39b86beffd3f3790b5
1 // RUN: %clang_cc1 -triple thumbv7-windows -fms-extensions -verify %s
3 void emit_error(unsigned int opcode) {
4 __emit(opcode); // expected-error {{argument to '__emit' must be a constant integer}}