mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 19:01:26 +00:00
6 lines
247 B
ArmAsm
6 lines
247 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
|
|
# RUN: echo "SECTIONS { .aaa : { SORT(CONSTRUCTORS) } }" > %t1.script
|
|
# RUN: ld.lld -shared -o %t1 --script %t1.script %t1.o
|
|
# RUN: llvm-readobj %t1 > /dev/null
|