[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / tools / llvm-ml / size_inference.asm
blobcd3b83074c31ef47bdc6edd5a6412e2a1707be8f
1 ; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --dump-input=always
3 .data
5 FOO STRUCT
6 dword_field DWORD 3
7 byte_field BYTE 4 DUP (1)
8 FOO ENDS
10 var FOO <>
12 .code
14 t1 PROC
16 mov eax, var.byte_field
17 ; CHECK: error: invalid operand for instruction
19 mov eax, [var].byte_field
20 ; CHECK: error: invalid operand for instruction
22 mov eax, [var.byte_field]
23 ; CHECK: error: invalid operand for instruction
25 t1 ENDP
27 END