xref: /llvm-project/lld/test/ELF/linkerscript/sort-constructors.test (revision f95e7c6f7a143e08408f39865562b7e8ac54cff3)
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t1.o
3# RUN: ld.lld -shared -o %t1 --script %s %t1.o
4# RUN: llvm-readobj %t1 > /dev/null
5
6SECTIONS {
7 .aaa : { SORT(CONSTRUCTORS) }
8}
9