2 ! Tests the fix for PR30237 in which alternate returns in intrinsic
3 ! actual arglists were quietly ignored.
5 ! Contributed by Brooks Moses <brooks@gcc.gnu.org>
12 end interface random_seed
15 call cpu_time(*20) ! { dg-error "not permitted" }
16 call cpu_time(*20, t1(1)) ! { dg-error "Too many arguments" }
17 ! This specific version is permitted by the generic interface.
18 call random_seed(i
, *20)
19 ! The new error gets overwritten but the diagnostic is clear enough.
20 call random_seed(i
, *20, *30) ! { dg-error "not consistent" }