1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
3# RUN: ld.lld -o %t --script %s %t.o -shared
4
5# lld shouldn't crash.
6
7SECTIONS { .foo : ALIGN(2M) {} }
8