llvm-project/llvm/test/CodeGen/SystemZ/zos-alias-unsupported.ll
Kai Nacke 648bd564d0
[SystemZ][z/OS] Migrate most test case to use HLASM syntax (#181222)
This PR migrates all but two test cases to use HLASM syntax. It also
flips the default for the command line option, making HLASM output the
default.
The missing test cases requires some more support in the HLASM streamer,
which I will add separately.
2026-02-13 14:44:44 -05:00

17 lines
391 B
LLVM

; Test aliasing errors on z/OS
; RUN: not llc < %s -mtriple=s390x-ibm-zos 2>&1 | FileCheck %s
; CHECK: error: Only aliases to functions is supported in GOFF.
; CHECK: error: Weak alias/reference not supported on z/OS
@actual_variable = global i32 0
@alias_variable = alias i32, ptr @actual_variable
@foo1 = weak alias i32 (i32), ptr @foo
define hidden void @foo() {
entry:
ret void
}