annotate test/Linker/redefinition.ll @ 146:3fc4d5c3e21e
set tail call flag for code segment in CGCAll
author |
Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
date |
Sun, 23 Dec 2018 19:23:36 +0900 |
parents |
60c9769439b8 |
children |
c2174574ed3a |
rev |
line source |
83
|
1 ; Test linking two functions with different prototypes and two globals
|
0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 ; in different modules.
|
83
|
3 ; RUN: not llvm-link %s %s -o %t.bc 2>&1 | FileCheck %s
|
|
4 ; RUN: not llvm-link %s %S/Inputs/redefinition.ll -o %t.bc 2>&1 | FileCheck %s
|
|
5 ; CHECK: ERROR: Linking globals named 'foo': symbol multiply defined!
|
0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 define void @foo() { ret void }
|