summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/kind_tests_3.f03
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/kind_tests_3.f03')
-rw-r--r--gcc/testsuite/gfortran.dg/kind_tests_3.f0310
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/kind_tests_3.f03 b/gcc/testsuite/gfortran.dg/kind_tests_3.f03
new file mode 100644
index 00000000000..83cb91e95d6
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/kind_tests_3.f03
@@ -0,0 +1,10 @@
+! { dg-do compile }
+module my_kinds
+ use, intrinsic :: iso_c_binding
+ integer, parameter :: myFKind = c_float
+end module my_kinds
+
+module my_module
+ use my_kinds
+ real(myFKind), bind(c) :: myF
+end module my_module