| 1 | // RUN: %clang_cc1 -triple thumbv7-windows -fms-extensions -verify %s |
|---|---|
| 2 | |
| 3 | void emit_error(unsigned int opcode) { |
| 4 | __emit(opcode); // expected-error {{argument to '__emit' must be a constant integer}} |
| 5 | } |
| 6 | |
| 7 |
| 1 | // RUN: %clang_cc1 -triple thumbv7-windows -fms-extensions -verify %s |
|---|---|
| 2 | |
| 3 | void emit_error(unsigned int opcode) { |
| 4 | __emit(opcode); // expected-error {{argument to '__emit' must be a constant integer}} |
| 5 | } |
| 6 | |
| 7 |