llvm-project/llvm/test/Assembler/unnamed-alias.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

12 lines
320 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
@0 = private constant i32 0
; CHECK: @0 = private constant i32 0
@1 = private constant i32 1
; CHECK: @1 = private constant i32 1
@2 = private alias i32, ptr @3
; CHECK: @2 = private alias i32, ptr @3
@3 = private alias i32, ptr @1
; CHECK: @3 = private alias i32, ptr @1