mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-03 16:03:21 +00:00
45da495f73
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
19 lines
500 B
Fortran
19 lines
500 B
Fortran
! Test that flang-new forwards Flang frontend
|
|
! options to flang-new -fc1 as expected.
|
|
|
|
! REQUIRES: new-flang-driver
|
|
|
|
! RUN: %flang-new -fsyntax-only -### %s -o %t 2>&1 \
|
|
! RUN: -finput-charset=utf-8 \
|
|
! RUN: -fdefault-double-8 \
|
|
! RUN: -fdefault-integer-8 \
|
|
! RUN: -fdefault-real-8 \
|
|
! RUN: -flarge-sizes \
|
|
! RUN: | FileCheck %s
|
|
|
|
! CHECK: "-finput-charset=utf-8"
|
|
! CHECK: "-fdefault-double-8"
|
|
! CHECK: "-fdefault-integer-8"
|
|
! CHECK: "-fdefault-real-8"
|
|
! CHECK: "-flarge-sizes"
|