llvm/test/MC/Xtensa/invalid-literal.s
raw| 1 | # RUN: not llvm-mc %s -triple=xtensa -filetype=asm 2>&1 | FileCheck %s |
| 2 | |
| 3 | .text |
| 4 | .literal_position |
| 5 | .literal .LCPI0_0 a |
| 6 | # CHECK: [[@LINE-1]]:20: error: expected comma |
| 7 | .literal 123, a |
| 8 | # CHECK: [[@LINE-1]]:10: error: literal label must be a symbol |
| 9 | .literal .LCPI1_0, |
| 10 | # CHECK: [[@LINE-1]]:19: error: expected value |