22 lines · plain
1; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:2 3.data4org_struct STRUCT5 x BYTE ?6 x_succ BYTE ?7 ORG 158 y BYTE ?9 y_succ BYTE ?10 11; CHECK: :[[# @LINE + 1]]:7: error: expected non-negative value in struct's 'org' directive; was -412 ORG -413 14 z BYTE ?15 z_succ BYTE ?16org_struct ENDS17 18; CHECK: :[[# @LINE + 1]]:16: error: cannot initialize a value of type 'org_struct'; 'org' was used in the type's declaration19x org_struct <>20 21end22