1; RUN: llvm-as < %s | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5define spir_func void @foo() {
6 ret void
7}
8
9define spir_kernel void @bar() {
10 call spir_func void @foo( )
11 call spir_kernel void @bar( )
12 ret void
13}
14