[SLP]Reduce number of alternate instruction, where possible
[llvm-project.git] / llvm / test / MC / LoongArch / Directives / option-invalid.s
blobd9064f03015452eeee0806774282a7e96f6a26dd
1 # RUN: not llvm-mc --triple=loongarch64 %s 2>&1 \
2 # RUN: | FileCheck --implicit-check-not=error: %s
4 # CHECK: :[[#@LINE+1]]:8: error: expected identifier
5 .option
7 # CHECK: :[[#@LINE+1]]:9: error: expected identifier
8 .option 123
10 # CHECK: :[[#@LINE+1]]:9: error: expected identifier
11 .option "str"
13 # CHECK: :[[#@LINE+1]]:12: warning: unknown option, expected 'push', 'pop', 'relax' or 'norelax'
14 .option bar
16 # CHECK: :[[#@LINE+1]]:12: error: .option pop with no .option push
17 .option pop
19 # CHECK: :[[#@LINE+1]]:14: error: expected newline
20 .option push 123
22 # CHECK: :[[#@LINE+1]]:13: error: expected newline
23 .option pop 123