5 ! RUN: %flang --version 2>&1 | FileCheck %s
6 ! RUN: not %flang --versions 2>&1 | FileCheck %s --check-prefix=ERROR
8 !-----------------------
10 !-----------------------
11 ! CHECK: flang-new version
13 ! CHECK-NEXT: Thread model:
14 ! CHECK-NEXT: InstalledDir:
16 ! ERROR: flang-new: error: unsupported option '--versions'; did you mean '--version'?