[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-ml / anonymous_labels_errors.asm
blob8fcab381bbc03da7485ee09a0bf08118a9d27995
1 ; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
3 .code
5 ; CHECK: :[[# @LINE + 2]]:5: error: Expected @@ label before @B reference
6 ; CHECK: :[[# @LINE + 1]]:7: error: Unexpected identifier!
7 jmp @B
9 @@:
10 jmp @B
11 jmp @F
12 @@:
13 xor eax, eax
15 ; NOTE: a trailing @F will not fail; fixing this seems to require two passes.
16 jmp @F