gcc/testsuite/gfortran.dg/iso_c_binding_only_2.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! |
| 3 | ! PR 87172: [9 Regression] Spurious "Derived type 'c_funptr' at (1) has not been declared" error after r263782 |
| 4 | ! |
| 5 | ! Contributed by Dominique d'Humieres <[email protected]> |
| 6 | |
| 7 | module m1 |
| 8 | use iso_c_binding, only: c_funptr |
| 9 | end module |
| 10 | |
| 11 | module m2 |
| 12 | use m1 |
| 13 | use iso_c_binding |
| 14 | end module |