1; RUN: opt -disable-output -passes=helloworld %s 2>&1 | FileCheck %s
2
3; CHECK: {{^}}foo{{$}}
4define i32 @foo() {
5  %a = add i32 2, 3
6  ret i32 %a
7}
8
9; CHECK-NEXT: {{^}}bar{{$}}
10define void @bar() {
11  ret void
12}
13