mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 13:45:16 +00:00
![Andrzej Warzynski](/assets/img/avatar_default.png)
Until now we've been maintaining 2 test directories for Flang's drivers: * test/Driver for `f18` (the current driver) * test/Flang-Driver for `flang-new` (the new driver) As we have started sharing tests between the drivers, this separation is no longer required. This patch merges the two test directories. As suggested in the review, moving forward we'll avoid having tests specifically for the old driver. A few notable changes: * Driver/version-test.f90 and Driver/no-files.f90 are deleted. The versions for the new driver are more robust, but tricky to share. * Driver/write-module.f90 is deleted in favour of Flang-Driver/write-module.f90 (see https://reviews.llvm.org/D97197 for more context) Differential Revision: https://reviews.llvm.org/D98257
8 lines
217 B
C++
8 lines
217 B
C++
// RUN: not %flang-new %s 2>&1 | FileCheck %s
|
|
|
|
// REQUIRES: new-flang-driver
|
|
|
|
// C++ files are currently not supported (i.e. `flang -cc1`)
|
|
|
|
// CHECK: error: unknown integrated tool '-cc1'. Valid tools include '-fc1'.
|