brintos

brintos / llvm-project-archived public Read only

0
0
Text · 587 B · 72ce8d8 Raw
23 lines · plain
1; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:2 3; CHECK: :[[# @LINE + 1]]:8: error: expected name in directive 'extern'4extern 1235 6; CHECK: :[[# @LINE + 1]]:14: error: expected type in directive 'extern'7extern foo0 :8 9; CHECK: :[[# @LINE + 1]]:15: error: unrecognized type in directive 'extern'10extern bar0 : typedoesnotexist11 12extern foo1 : dword, bar1 : word13 14.code15 16; CHECK: :[[# @LINE + 1]]:1: error: invalid operand for instruction17mov bx, foo118 19; CHECK: :[[# @LINE + 1]]:1: error: invalid operand for instruction20mov bl, bar121 22END23