diff options
Diffstat (limited to 'test/Driver/fortran.f95')
-rw-r--r-- | test/Driver/fortran.f95 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Driver/fortran.f95 b/test/Driver/fortran.f95 new file mode 100644 index 0000000..9334cbe --- /dev/null +++ b/test/Driver/fortran.f95 @@ -0,0 +1,9 @@ +// Check that the clang driver can invoke gcc to compile Fortran. + +// RUN: %clang -target x86_64-unknown-linux-gnu -integrated-as -c %s -### 2>&1 \ +// RUN: | FileCheck %s +// CHECK: gcc +// CHECK: "-S" +// CHECK: "-x" "f95" +// CHECK: clang +// CHECK: "-cc1as" |