3 ## Check we do not crash.
5 # RUN: echo "MEMORY { FLASH (rx) : ORIGIN = 0x1000< LENGTH" > %t.script
6 # RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s
7 # CHECK: unexpected EOF
9 # RUN: echo "MEMORY { FLASH (rx) : ORIGIN = 0x1000< ORIGIN" > %t.script
10 # RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s
12 # RUN: echo "MEMORY { FLASH (rx) : ORIGIN = 0x1000, LENGTH = CONSTANT" > %t.script
13 # RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s