[TySan] Don't report globals with incomplete types. (#121922)
[llvm-project.git] / llvm / test / MC / ELF / layout-interdependency.s
blobfc33b552a1d82a083555da3a0140f8b1e62059b6
1 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null
2 # RUN: not llvm-mc -filetype=obj -triple=x86_64 --defsym GAP=1 %s -o /dev/null 2>&1 | FileCheck %s
4 fct_end:
6 .fill (data_start - fct_end), 1, 42
7 .ifdef GAP
8 .byte 0
9 .endif
10 # CHECK: [[#@LINE+1]]:7: error: invalid number of bytes
11 .fill (fct_end - data_start), 1, 42
13 data_start: