mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
6141f178a6
Otherwise, broken input modules can cause assertions. I've updated two of the testcases that started failing (modules that had `Require` flags but didn't meet their own requirements), but Rafael and I decided that test/Linker/2011-08-22-ResolveAlias.ll should just be deleted outright -- it's a leftover of the way llvm-gcc used to implement weakref. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233229 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
210 B
LLVM
9 lines
210 B
LLVM
; RUN: not llvm-link -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: input module '{{.*}}broken.ll' is broken
|
|
define i32 @foo(i32 %v) {
|
|
%first = add i32 %v, %second
|
|
%second = add i32 %v, 3
|
|
ret i32 %first
|
|
}
|