Mercurial > hg > CbC > CbC_llvm
diff test/LTO/X86/pr25919.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/LTO/X86/pr25919.ll Tue Jan 26 22:53:40 2016 +0900 @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s >%t1 +; RUN: llvm-lto -list-symbols-only %t1 | FileCheck %s + +; This tests that we don't crash trying to find all uses in a lazily loaded +; module. +; CHECK: foo + +target triple = "x86_64-unknown-linux-gnu" +define linkonce_odr void @foo() { + ret void +}