[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / fno-integrated-as.f90
blobd0f917d57ad830158d75d36a430a794eb160e2fa
1 ! Tests for the `-fno-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`
16 !-----------------------------
17 ! Verify that there _is no_ separate line with an assembler invocation
18 ! RUN: %flang -c %s -### 2>&1 | FileCheck %s -check-prefix=DEFAULT
19 ! DEFAULT-LABEL: "-fc1"
20 ! DEFAULT-SAME: "-o" "{{.*}}.o" "{{.*}}fno-integrated-as.f90"