14 lines · plain
1# REQUIRES: x862 3## Check we do not crash.4 5# RUN: echo "MEMORY { FLASH (rx) : ORIGIN = 0x1000< LENGTH" > %t.script6# RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s7# CHECK: unexpected EOF8 9# RUN: echo "MEMORY { FLASH (rx) : ORIGIN = 0x1000< ORIGIN" > %t.script10# RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s11 12# RUN: echo "MEMORY { FLASH (rx) : ORIGIN = 0x1000, LENGTH = CONSTANT" > %t.script13# RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s14