forked from OSchip/llvm-project
18 lines
440 B
ArmAsm
18 lines
440 B
ArmAsm
|
# RUN: not llvm-mc -triple riscv32 < %s 2>&1 \
|
||
|
# RUN: | FileCheck -check-prefixes=CHECK %s
|
||
|
|
||
|
# CHECK: error: unexpected token, expected identifier
|
||
|
.option
|
||
|
|
||
|
# CHECK: error: unexpected token, expected identifier
|
||
|
.option 123
|
||
|
|
||
|
# CHECK: error: unexpected token, expected identifier
|
||
|
.option "str"
|
||
|
|
||
|
# CHECK: error: unexpected token, expected end of statement
|
||
|
.option rvc foo
|
||
|
|
||
|
# CHECK: warning: unknown option, expected 'rvc' or 'norvc'
|
||
|
.option bar
|