[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / frontend-forwarding.f90
blobbeb2a85e76f546c45c230f0b823f4613d546c31b
1 ! Test that flang-new forwards Flang frontend
2 ! options to flang-new -fc1 as expected.
4 ! RUN: %flang -fsyntax-only -### %s -o %t 2>&1 \
5 ! RUN: -finput-charset=utf-8 \
6 ! RUN: -fdefault-double-8 \
7 ! RUN: -fdefault-integer-8 \
8 ! RUN: -fdefault-real-8 \
9 ! RUN: -flarge-sizes \
10 ! RUN: -fconvert=little-endian \
11 ! RUN: -ffp-contract=fast \
12 ! RUN: -fno-honor-nans \
13 ! RUN: -fapprox-func \
14 ! RUN: -fno-signed-zeros \
15 ! RUN: -fassociative-math \
16 ! RUN: -freciprocal-math \
17 ! RUN: -fpass-plugin=Bye%pluginext \
18 ! RUN: -mllvm -print-before-all\
19 ! RUN: -P \
20 ! RUN: | FileCheck %s
22 ! CHECK: "-P"
23 ! CHECK: "-finput-charset=utf-8"
24 ! CHECK: "-fdefault-double-8"
25 ! CHECK: "-fdefault-integer-8"
26 ! CHECK: "-fdefault-real-8"
27 ! CHECK: "-flarge-sizes"
28 ! CHECK: "-ffp-contract=fast"
29 ! CHECK: "-menable-no-nans"
30 ! CHECK: "-fapprox-func"
31 ! CHECK: "-fno-signed-zeros"
32 ! CHECK: "-mreassociate"
33 ! CHECK: "-freciprocal-math"
34 ! CHECK: "-fconvert=little-endian"
35 ! CHECK: "-fpass-plugin=Bye
36 ! CHECK: "-mllvm" "-print-before-all"