1; RUN: llvm-as < %s >%t1
2; RUN: llvm-lto -list-symbols-only %t1 | FileCheck %s
3
4; This tests that we don't crash trying to find all uses in a lazily loaded
5; module.
6; CHECK: foo
7
8target triple = "x86_64-unknown-linux-gnu"
9define linkonce_odr void @foo() {
10  ret void
11}
12