[PATCH] D97119: [flang][driver] Add options for -std=f2018

Tim Keith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 15 13:59:10 PDT 2021


tskeith added inline comments.


================
Comment at: flang/test/Driver/std2018.f90:9
+! RUN: %flang_fc1 -pedantic %s  2>&1 | FileCheck %s --check-prefix=GIVEN
+! RUN: not %flang_fc1 -std=90 %s  2>&1 | FileCheck %s --check-prefix=WRONG
+
----------------
You need to make sure these work with f18 or indicate the test requires the new driver. f18 doesn't currently support `-std=f2018` and doesn't complain about unrecognized options.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97119/new/

https://reviews.llvm.org/D97119



More information about the cfe-commits mailing list