aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-load-missing-explicit-type.ll
blob: 455498e3d15da006aaf06d08dc5b45f760af7fc9 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:4:18: error: expected comma after load's type
define void @test(i32* %t) {
  %x = load i32* %t
  ret void
}