mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
9 lines
184 B
LLVM
9 lines
184 B
LLVM
|
; RUN: llvm-as < %s | opt -addreadattrs | llvm-dis | grep readnone
|
||
|
|
||
|
@s = external constant i8 ; <i8*> [#uses=1]
|
||
|
|
||
|
define i8 @f() {
|
||
|
%tmp = load i8* @s ; <i8> [#uses=1]
|
||
|
ret i8 %tmp
|
||
|
}
|