summaryrefslogtreecommitdiff
path: root/test/Assembler/invalid-load-mismatched-explicit-type.ll
blob: b8422ed730f2f1d6a3acccf734e59b083da9fe9e (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:4:13: error: explicit pointee type doesn't match operand's pointee type
define void @test(i32* %t) {
  %x = load i16, i32* %t
  ret void
}