1 ; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --dump-input=always
10 ; CHECK: error: Initializer too long for field; expected at most 2 elements, got 3
13 ; CHECK: error: Cannot initialize array field with scalar value
16 ; CHECK: error: Cannot initialize scalar field with array value
19 real_arr REAL4
?, ?, ?
23 t4 real_test
<<1.0,0.0,-1.0,-2.0>>
24 ; CHECK: error: Initializer too long for field; expected at most 3 elements, got 4
27 ; CHECK: error: Cannot initialize array field with scalar value
29 t6 real_test
<,<2.0,-2.0>>
30 ; CHECK: error: Cannot initialize scalar field with array value
37 struct_arr inner_struct
4 DUP
(?)
38 struct_scalar inner_struct
?
41 t7 struct_test
<<<>, <>, <>, <>, <>>>
42 ; CHECK: error: Initializer too long for field; expected at most 4 elements, got 5
44 t8 struct_test
<,<<>, <>>>
45 ; CHECK: error: 'inner_struct' initializer initializes too many fields
48 ; CHECK: error: alignment must be a power of two; was 3
52 ; CHECK: error: Unrecognized qualifier for 'STRUCT' directive; expected none or NONUNIQUE
57 ; CHECK: error: mismatched name in ENDS directive; expected 't11'