summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/align-section.test
blob: 7a28fef2076ed10488b143094416cd45814947f9 (plain)
1
2
3
4
5
6
7
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
# RUN: ld.lld -o %t --script %s %t.o -shared

# lld shouldn't crash.

SECTIONS { .foo : ALIGN(2M) {} }
OpenPOWER on IntegriCloud