blob: d0f917d57ad830158d75d36a430a794eb160e2fa [file] [log] [blame]
! Tests for the `-fno-integrated-as` flag.
! UNSUPPORTED: system-windows
!--------------------------
! With `-fno-integrated-as`
!--------------------------
! Verify that there _is_ a separate line with an assembler invocation
! RUN: %flang -c -fno-integrated-as %s -### 2>&1 | FileCheck %s
! CHECK-LABEL: "-fc1"
! CHECK-SAME: "-o" "[[assembly_file:.*]].s"
! CHECK-NEXT: "-o" "{{.*}}.o" "[[assembly_file:.*]].s"
!-----------------------------
! Without `-fno-integrated-as`
!-----------------------------
! Verify that there _is no_ separate line with an assembler invocation
! RUN: %flang -c %s -### 2>&1 | FileCheck %s -check-prefix=DEFAULT
! DEFAULT-LABEL: "-fc1"
! DEFAULT-SAME: "-o" "{{.*}}.o" "{{.*}}fno-integrated-as.f90"