ldc/tests/codegen/ctor_initarray_gh2883.d
Johan Engelen cd3becc108 Add testcase for ltsmaster PR #2883 (.init_array instead of .ctors for AArch64) (#2896)
Nothing to be fixed for master, as LLVM defaults to .init_array unless using an explicit
-use-ctors in the cmdline.
2018-11-04 19:46:16 +01:00

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.