Skip to content

Commit dd4d984

Browse files
RichBarton-Armbryanpkc
authored andcommitted
Fix classic flang version screen
Version screen has been erroneously reporting as flang-new since LLVM 12 Cherry-pick note: Starting with LLVM 20, the --version option reports "flang" out of the box. This commit only adds a test case to ensure that the behaviour does not change for Classic Flang.
1 parent 8ea65b7 commit dd4d984

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
! REQUIRES: classic-flang
2+
! RUN: %flang --version | FileCheck %s
3+
! CHECK: flang version {{.*}} ({{.*}}flang-compiler/classic-flang-llvm-project.git {{.*}})

0 commit comments

Comments
 (0)