blob: b4af8607ac353209e7c4f8ef7ffd8110888c8e20 [file] [log] [blame] [edit]
; RUN: llvm-as < %s >%t1
; RUN: llvm-lto -exported-symbol=main -filetype=asm -o - %t1 2>&1 | FileCheck %s
; The test is to check the triple is set to default one when it's empty.
; Otherwise, an error will be raised by llvm-lto.
; CHECK-LABEL: main
; CHECK-NOT: error
define void @main() {
entry:
ret void
}