Mercurial > hg > CbC > CbC_llvm
annotate test/Linker/2003-01-30-LinkerRename.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 60c9769439b8 |
rev | line source |
---|---|
0 | 1 ; This fails because the linker renames the external symbol not the internal |
2 ; one... | |
3 | |
4 ; RUN: echo "define internal i32 @foo() { ret i32 7 } " | llvm-as > %t.1.bc | |
5 ; RUN: llvm-as %s -o %t.2.bc | |
6 ; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s | |
7 ; CHECK: internal{{.*}}@foo{{[0-9]}}() | |
8 | |
9 define i32 @foo() { ret i32 0 } | |
10 |