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