blob: b55006d59e3268a3d0faa6ea1c853c5d875ef303 [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
# RUN: not ld.lld -o /dev/null --script %s %t.o -shared 2>&1 | FileCheck %s
# CHECK: error: {{.*}}.test:8: at least one side of the expression must be absolute
SECTIONS {
foo = ADDR(.text) + ADDR(.text);
};