summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f9011
2 files changed, 16 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index ceebbfad17c..263670b7be6 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-19 Tobias Burnus <burnus@net-b.de>
+
+ * testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved
+ from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90.
+
2012-11-21 Jakub Jelinek <jakub@redhat.com>
PR libgomp/55411
diff --git a/libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90 b/libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90
new file mode 100644
index 00000000000..5996350301b
--- /dev/null
+++ b/libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90
@@ -0,0 +1,11 @@
+! { dg-do compile }
+!
+! PR fortran/55197
+!
+! Contributed by Erik Toussaint
+!
+
+use, intrinsic :: omp_lib, only: omp_get_num_threads
+use, intrinsic :: omp_lib_kinds , foo => omp_lock_kind
+print *, foo
+end