1*82c5e302SAlan Zhao; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error: 2*82c5e302SAlan Zhao 3*82c5e302SAlan Zhao; CHECK: :[[# @LINE + 1]]:8: error: expected name in directive 'extern' 4*82c5e302SAlan Zhaoextern 123 5*82c5e302SAlan Zhao 6*82c5e302SAlan Zhao; CHECK: :[[# @LINE + 1]]:14: error: expected type in directive 'extern' 7*82c5e302SAlan Zhaoextern foo0 : 8*82c5e302SAlan Zhao 9*82c5e302SAlan Zhao; CHECK: :[[# @LINE + 1]]:15: error: unrecognized type in directive 'extern' 10*82c5e302SAlan Zhaoextern bar0 : typedoesnotexist 11*82c5e302SAlan Zhao 12*82c5e302SAlan Zhaoextern foo1 : dword, bar1 : word 13*82c5e302SAlan Zhao 14*82c5e302SAlan Zhao.code 15*82c5e302SAlan Zhao 16*82c5e302SAlan Zhao; CHECK: :[[# @LINE + 1]]:1: error: invalid operand for instruction 17*82c5e302SAlan Zhaomov bx, foo1 18*82c5e302SAlan Zhao 19*82c5e302SAlan Zhao; CHECK: :[[# @LINE + 1]]:1: error: invalid operand for instruction 20*82c5e302SAlan Zhaomov bl, bar1 21*82c5e302SAlan Zhao 22*82c5e302SAlan ZhaoEND 23