[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-ml / extern_errors.asm
blob72ce8d8c436770685cf2d27ce55c4d03cabe8286
1 ; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
3 ; CHECK: :[[# @LINE + 1]]:8: error: expected name in directive 'extern'
4 extern 123
6 ; CHECK: :[[# @LINE + 1]]:14: error: expected type in directive 'extern'
7 extern foo0 :
9 ; CHECK: :[[# @LINE + 1]]:15: error: unrecognized type in directive 'extern'
10 extern bar0 : typedoesnotexist
12 extern foo1 : dword, bar1 : word
14 .code
16 ; CHECK: :[[# @LINE + 1]]:1: error: invalid operand for instruction
17 mov bx, foo1
19 ; CHECK: :[[# @LINE + 1]]:1: error: invalid operand for instruction
20 mov bl, bar1
22 END