[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / driver-version.f90
blob44c5b8a9318216a1d47eda4662835a7b35486793
2 ! RUN: %flang --version 2>&1 | FileCheck %s --check-prefix=VERSION
3 ! RUN: not %flang --versions 2>&1 | FileCheck %s --check-prefix=ERROR
4 ! RUN: %flang_fc1 -version 2>&1 | FileCheck %s --check-prefix=VERSION-FC1
5 ! RUN: not %flang_fc1 --version 2>&1 | FileCheck %s --check-prefix=ERROR-FC1
7 ! VERSION: flang-new version
8 ! VERSION-NEXT: Target:
9 ! VERSION-NEXT: Thread model:
10 ! VERSION-NEXT: InstalledDir:
12 ! ERROR: flang-new: error: unsupported option '--versions'; did you mean '--version'?
14 ! VERSION-FC1: LLVM version
16 ! ERROR-FC1: error: unknown argument '--version'; did you mean '-version'?