[LLVM] Fix Maintainers.md formatting (NFC)
[llvm-project.git] / flang / test / Driver / fintegrated-as.f90
blob516d3501dc8d16685ad3b3b641e09c482d8c6eb7
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
10 ! CHECK-LABEL: "-fc1"
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"