xref: /llvm-project/llvm/test/tools/llvm-ml/label_errors.asm (revision 1799a714a7a77ba6feaf33e09c554c6127ebbae6)
1; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 \
2; RUN:   | FileCheck %s --implicit-check-not="{{[0-9]+:[0-9]+: error:}}"
3
4.code
5
6; These used to be valid label names.
7{: ; CHECK: [[@LINE]]:1: error: unexpected token at start of statement
8}: ; CHECK: [[@LINE]]:1: error: unexpected token at start of statement
9