1*7d1a2954SEric Astor; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
2*7d1a2954SEric Astor
3*7d1a2954SEric Astor.code
4*7d1a2954SEric Astor
5*7d1a2954SEric Astor; CHECK: :[[# @LINE + 2]]:5: error: Expected @@ label before @B reference
6*7d1a2954SEric Astor; CHECK: :[[# @LINE + 1]]:7: error: Unexpected identifier!
7*7d1a2954SEric Astorjmp @B
8*7d1a2954SEric Astor
9*7d1a2954SEric Astor@@:
10*7d1a2954SEric Astor  jmp @B
11*7d1a2954SEric Astor  jmp @F
12*7d1a2954SEric Astor@@:
13*7d1a2954SEric Astor  xor eax, eax
14*7d1a2954SEric Astor
15*7d1a2954SEric Astor; NOTE: a trailing @F will not fail; fixing this seems to require two passes.
16*7d1a2954SEric Astorjmp @F
17