c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / assumed_type_17.f90
blobd6ccd3058ce83086cf4c1000a71ef0bc684f7465
1 ! { dg-do compile }
2 ! { dg-additional-options "-std=f2018 -fdump-tree-original" }
4 ! PR fortran/104143
6 interface
7 subroutine foo(x)
8 type(*) :: x(*)
9 end
10 end interface
11 integer :: a
12 call foo(a)
13 call foo((a))
14 end
16 ! { dg-final { scan-tree-dump-times "foo \\(&a\\);" 1 "original" } }
17 ! { dg-final { scan-tree-dump-times "D.\[0-9\]+ = a;" 1 "original" } }
18 ! { dg-final { scan-tree-dump-times "foo \\(&D.\[0-9\]+\\);" 1 "original" } }