brintos

brintos / llvm-project-archived public Read only

0
0
Text · 586 B · 4991fc8 Raw
20 lines · plain
1; Verify that reading from stdin works as expected - LLVM input2 3; REQUIRES: aarch64-registered-target4 5; Input type is implicit - assumed to be Fortran. As the input is provided via6; stdin, the file extension is not relevant here.7; RUN: cat %s | not %flang -S - -o -8; RUN: cat %s | not %flang_fc1 -S - -o -9 10; Input type is explicit11; RUN: cat %s | %flang -x ir -S -target aarch64-unknown-linux-gnu - -o - | FileCheck %s12; RUN: cat %s | %flang_fc1 -x ir -S -triple aarch64-unknown-linux-gnu - -o - | FileCheck %s13 14; CHECK-LABEL: foo:15; CHECK: ret16 17define void @foo() {18  ret void19}20