projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f873821
)
[Linker] Convert test to opaque pointers (NFC)
author
Nikita Popov
<npopov@redhat.com>
Wed, 14 Dec 2022 11:57:59 +0000
(12:57 +0100)
committer
Nikita Popov
<npopov@redhat.com>
Wed, 14 Dec 2022 11:58:43 +0000
(12:58 +0100)
To preserve test intent, drop the pointer type.
llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
b/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
index
d61eb6d
..
7ef78c7
100644
(file)
--- a/
llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
+++ b/
llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
@@
-1,11
+1,11
@@
; This fails because the linker renames the non-opaque type not the opaque
; one...
-; RUN: echo "%%Ty = type opaque @GV = external global %%Ty
*
" | llvm-as > %t.1.bc
+; RUN: echo "%%Ty = type opaque @GV = external global %%Ty" | llvm-as > %t.1.bc
; RUN: llvm-as < %s > %t.2.bc
; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
; CHECK: = global %Ty
%Ty = type {i32}
-@GV = global %Ty
* null
+@GV = global %Ty
{i32 0}