| 1 |
! PR 101305 |
| 2 |
! { dg-do run } |
| 3 |
! { dg-additional-sources "typecodes-sanity-c.c" } |
| 4 |
! { dg-additional-options "-g" } |
| 5 |
! |
| 6 |
! This program does sanity checking on the CFI_type_* macros. All |
| 7 |
! of the interesting things happen on the C side. |
| 8 |
|
| 9 |
program testit |
| 10 |
use iso_c_binding |
| 11 |
implicit none |
| 12 |
|
| 13 |
integer, parameter :: ucs4 = selected_char_kind ('ISO_10646') |
| 14 |
|
| 15 |
interface |
| 16 |
|
| 17 |
subroutine ctest_typecodes () bind (c) |
| 18 |
end subroutine |
| 19 |
|
| 20 |
end interface |
| 21 |
|
| 22 |
call ctest_typecodes () |
| 23 |
|
| 24 |
end program |