Alex Bradbury | bca0c3c | 2018-05-11 17:30:28 +0000 | [diff] [blame] | 1 | # RUN: not llvm-mc -triple riscv32 < %s 2>&1 \ |
| 2 | # RUN: | FileCheck -check-prefixes=CHECK %s |
| 3 | |
| 4 | # CHECK: error: unexpected token, expected identifier |
| 5 | .option |
| 6 | |
| 7 | # CHECK: error: unexpected token, expected identifier |
| 8 | .option 123 |
| 9 | |
| 10 | # CHECK: error: unexpected token, expected identifier |
| 11 | .option "str" |
| 12 | |
| 13 | # CHECK: error: unexpected token, expected end of statement |
| 14 | .option rvc foo |
| 15 | |
Alex Bradbury | 9c03e4c | 2018-11-12 14:25:07 +0000 | [diff] [blame] | 16 | # CHECK: warning: unknown option, expected 'rvc', 'norvc', 'relax' or 'norelax' |
Alex Bradbury | bca0c3c | 2018-05-11 17:30:28 +0000 | [diff] [blame] | 17 | .option bar |