mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
7 lines
216 B
LLVM
7 lines
216 B
LLVM
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
||
|
; CHECK: <stdin>:4:22: error: explicit pointee type doesn't match operand's pointee type
|
||
|
define void @test(i32* %t) {
|
||
|
%x = getelementptr i16, i32* %t, i32 0
|
||
|
ret void
|
||
|
}
|