brintos

brintos / llvm-project-archived public Read only

0
0
Text · 313 B · b4af860 Raw
13 lines · plain
1; RUN: llvm-as < %s >%t12; RUN: llvm-lto -exported-symbol=main -filetype=asm -o - %t1  2>&1 | FileCheck %s3 4; The test is to check the triple is set to default one when it's empty.5; Otherwise, an error will be raised by llvm-lto.6 7; CHECK-LABEL: main8; CHECK-NOT: error9define void @main() {10entry:11  ret void12}13