1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple thumbv7-windows -fms-extensions -verify %s 2*0a6a1f1dSLionel Sambuc emit_error(unsigned int opcode)3*0a6a1f1dSLionel Sambucvoid 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