summaryrefslogtreecommitdiffstats
path: root/fortran/test/tH5A.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2002-05-02 00:25:38 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2002-05-02 00:25:38 (GMT)
commit6e2be40f8d472f81abba2fd11edb323929571546 (patch)
treea40eb6668bb03dc93d357cdc268a97801b02e7d9 /fortran/test/tH5A.f90
parent9cd14882874759d2e16f32dab7ad5f49c2b720b9 (diff)
downloadhdf5-6e2be40f8d472f81abba2fd11edb323929571546.zip
hdf5-6e2be40f8d472f81abba2fd11edb323929571546.tar.gz
hdf5-6e2be40f8d472f81abba2fd11edb323929571546.tar.bz2
[svn-r5321]
Purpose: Bug#670 fix Description: Added tests to use overloaded subroutines. Platforms tested: Windows, Solaris 2.7, IRIX64-6.5
Diffstat (limited to 'fortran/test/tH5A.f90')
-rw-r--r--fortran/test/tH5A.f905
1 files changed, 3 insertions, 2 deletions
diff --git a/fortran/test/tH5A.f90 b/fortran/test/tH5A.f90
index d35a00f..e5c5ad3 100644
--- a/fortran/test/tH5A.f90
+++ b/fortran/test/tH5A.f90
@@ -70,6 +70,7 @@
DOUBLE PRECISION, DIMENSION(1) :: attr_double_data = 3.459
REAL, DIMENSION(1) :: attr_real_data = 4.0
INTEGER, DIMENSION(1) :: attr_integer_data = 5
+ INTEGER(HSIZE_T), DIMENSION(7) :: data_dims_b
INTEGER, DIMENSION(7) :: data_dims
@@ -234,8 +235,8 @@
!
! Write the Real attribute data.
!
- data_dims(1) = 1
- CALL h5awrite_f(attr4_id, atype4_id, attr_real_data, data_dims, error)
+ data_dims_b(1) = 1
+ CALL h5awrite_f(attr4_id, atype4_id, attr_real_data, data_dims_b, error)
CALL check("h5awrite_f",error,total_error)
!