aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-ml/label_errors.asm
blob: 85d9569c93fd9a164b09d2445dcb84922f299a54 (plain)
1
2
3
4
5
6
7
8
; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 \
; RUN:   | FileCheck %s --implicit-check-not="{{[0-9]+:[0-9]+: error:}}"

.code

; These used to be valid label names.
{: ; CHECK: [[@LINE]]:1: error: unexpected token at start of statement
}: ; CHECK: [[@LINE]]:1: error: unexpected token at start of statement