xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm-msvc-compat-error.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple thumbv7-windows -fms-extensions -verify %s
2*0a6a1f1dSLionel Sambuc 
emit_error(unsigned int opcode)3*0a6a1f1dSLionel Sambuc void emit_error(unsigned int opcode) {
4*0a6a1f1dSLionel Sambuc   __emit(opcode); // expected-error {{argument to '__emit' must be a constant integer}}
5*0a6a1f1dSLionel Sambuc }
6*0a6a1f1dSLionel Sambuc 
7