1*52a3855fSDavid Spickett; Verify that reading from stdin works as expected - LLVM input 2*52a3855fSDavid Spickett 3*52a3855fSDavid Spickett; REQUIRES: aarch64-registered-target 4*52a3855fSDavid Spickett 5*52a3855fSDavid Spickett; Input type is implicit - assumed to be Fortran. As the input is provided via 6*52a3855fSDavid Spickett; stdin, the file extension is not relevant here. 7*52a3855fSDavid Spickett; RUN: cat %s | not %flang -S - -o - 8*52a3855fSDavid Spickett; RUN: cat %s | not %flang_fc1 -S - -o - 9*52a3855fSDavid Spickett 10*52a3855fSDavid Spickett; Input type is explicit 11*52a3855fSDavid Spickett; RUN: cat %s | %flang -x ir -S -target aarch64-unknown-linux-gnu - -o - | FileCheck %s 12*52a3855fSDavid Spickett; RUN: cat %s | %flang_fc1 -x ir -S -triple aarch64-unknown-linux-gnu - -o - | FileCheck %s 13*52a3855fSDavid Spickett 14*52a3855fSDavid Spickett; CHECK-LABEL: foo: 15*52a3855fSDavid Spickett; CHECK: ret 16*52a3855fSDavid Spickett 17*52a3855fSDavid Spickettdefine void @foo() { 18*52a3855fSDavid Spickett ret void 19*52a3855fSDavid Spickett} 20