mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 01:20:51 +03:00

Nothing to be fixed for master, as LLVM defaults to .init_array unless using an explicit -use-ctors in the cmdline.
11 lines
279 B
Makefile
11 lines
279 B
Makefile
// REQUIRES: target_AArch64
|
|
|
|
// RUN: %ldc -mtriple=aarch64-unknown-linux -output-s -of=%t.s %s
|
|
// RUN: FileCheck %s < %t.s
|
|
|
|
// CHECK-NOT: .ctors
|
|
// CHECK-NOT: .dtors
|
|
// CHECK: .section .init_array
|
|
// CHECK: .section .fini_array
|
|
|
|
// No code needed to generate asm for a module.
|