1; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3; PR1358
4
5; CHECK: icmp ne (i32 (...)* @test_weak, i32 (...)* null)
6@G = global i1 icmp ne (i32 (...)* @test_weak, i32 (...)* null)
7
8declare extern_weak i32 @test_weak(...)
9
10