3 # RUN: echo '.section .foo,"a"; .quad 1' | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
4 # RUN: not ld.lld -o /dev/null %t.o --script %s 2>&1 | FileCheck %s
5 # CHECK: error: section '.foo' will not fit in region 'flash': overflowed by 264 bytes
8 ram (rwx) : org = 0x1000, len = 0x300
9 flash (rwx) : org = 0x1000, len = 0x100