xref: /llvm-project/llvm/test/Assembler/invalid-load-missing-explicit-type.ll (revision 75a479221b72c8b4827470485949cebf67d1c967)
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2; CHECK: <stdin>:4:17: error: expected comma after load's type
3define void @test(ptr %t) {
4  %x = load ptr %t
5  ret void
6}
7