1 ; RUN: opt -S -allow-incomplete-ir < %s | FileCheck %s
3 ; CHECK: @fn2 = external global i8
4 ; CHECK: @g1 = external global i8
5 ; CHECK: @g2 = external global i8
6 ; CHECK: @g3 = external global i8
7 ; CHECK: @g4 = external global i8
9 ; CHECK: declare void @fn1(i32)
15 call void @fn2(i32 2, i32 3)
16 call void @fn2(ptr @g1)