11 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3define void @invalid_arg_type(i32 %0) {41:5 call void @foo(label %1)6 ret void7}8 9declare void @foo(label)10; CHECK: invalid type for function argument11 1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3define void @invalid_arg_type(i32 %0) {41:5 call void @foo(label %1)6 ret void7}8 9declare void @foo(label)10; CHECK: invalid type for function argument11