llvm/llvm/test/MC/ELF/layout-interdependency.s

# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null
# RUN: not llvm-mc -filetype=obj -triple=x86_64 --defsym GAP=1 %s -o /dev/null 2>&1 | FileCheck %s

fct_end:

.fill (data_start - fct_end), 1, 42
.ifdef GAP
.byte 0
.endif
# CHECK: [[#@LINE+1]]:7: error: invalid number of bytes
.fill (fct_end - data_start), 1, 42

data_start: