22 lines · plain
1! Tests for the `-f(no-)integrated-as` flag.2 3! UNSUPPORTED: system-windows4 5!--------------------------6! With `-fno-integrated-as`7!--------------------------8! Verify that there _is_ a separate line with an assembler invocation9! RUN: %flang -c -fno-integrated-as %s -### 2>&1 | FileCheck %s10! CHECK-LABEL: "-fc1"11! CHECK-SAME: "-o" "[[assembly_file:.*]].s"12! CHECK-NEXT: "-o" "{{.*}}.o" "[[assembly_file:.*]].s"13 14!----------------------------------------------------------------15! Without `-fno-integrated-as` / With `-fintegrated-as` (default)16!----------------------------------------------------------------17! Verify that there _is no_ separate line with an assembler invocation18! RUN: %flang -c -fintegrated-as %s -### 2>&1 | FileCheck %s -check-prefix=DEFAULT19! RUN: %flang -c %s -### 2>&1 | FileCheck %s -check-prefix=DEFAULT20! DEFAULT-LABEL: "-fc1"21! DEFAULT-SAME: "-o" "{{.*}}.o" "{{.*}}fintegrated-as.f90"22