gcc/testsuite/gfortran.dg/c-interop/select.f90
raw| 1 | ! { dg-do run } |
| 2 | ! { dg-additional-sources "select-c.c dump-descriptors.c" } |
| 3 | ! |
| 4 | ! This program tests the CFI_select_part function. All the interesting |
| 5 | ! things happen in the corresponding C code. |
| 6 | |
| 7 | program testit |
| 8 | use iso_c_binding |
| 9 | implicit none |
| 10 | |
| 11 | interface |
| 12 | subroutine ctest () bind (c) |
| 13 | end subroutine |
| 14 | end interface |
| 15 | |
| 16 | call ctest () |
| 17 | |
| 18 | end program |