Files
swift-mirror/test/Frontend/ir-support-codegen.ll
Manman Ren d39f8e49a8 [Driver] make Swift accept bitcode input.
Thanks Jordan for reviewing the patches.
rdar://19048891


Swift SVN r25558
2015-02-26 19:31:09 +00:00

13 lines
400 B
LLVM

; REQUIRES: CPU=x86_64
; RUN: %swift -target x86_64-apple-darwin10 -S -module-name someModule -o - %s | FileCheck %s
; RUN: llvm-as %s -o %t.bc
; RUN: %swift -target x86_64-apple-darwin10 -S -module-name someModule -o - %t.bc | FileCheck -check-prefix=CHECK-BC %s
target triple = "x86_64-apple-darwin10"
; CHECK: .globl _f0
; CHECK-BC: .globl _f0
define i32 @f0() nounwind ssp {
ret i32 0
}