forked from OSchip/llvm-project
21 lines
732 B
Fortran
21 lines
732 B
Fortran
! 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"
|