aboutsummaryrefslogtreecommitdiff
path: root/flang/test/Semantics/cuf03.cuf
diff options
context:
space:
mode:
Diffstat (limited to 'flang/test/Semantics/cuf03.cuf')
-rw-r--r--flang/test/Semantics/cuf03.cuf3
1 files changed, 1 insertions, 2 deletions
diff --git a/flang/test/Semantics/cuf03.cuf b/flang/test/Semantics/cuf03.cuf
index 020a172..472d53d 100644
--- a/flang/test/Semantics/cuf03.cuf
+++ b/flang/test/Semantics/cuf03.cuf
@@ -57,8 +57,7 @@ module m
contains
attributes(device) subroutine devsubr(n,da)
integer, intent(in) :: n
- !ERROR: Object 'da' with ATTRIBUTES(DEVICE) may not be assumed size
- real, device :: da(*)
+ real, device :: da(*) ! ok
real, managed :: ma(n) ! ok
!WARNING: Pointer 'dp' may not be associated in a device subprogram
real, device, pointer :: dp