代码搜索:implicit
找到约 5,250 项符合「implicit」的源代码
代码结果 5,250
www.eeworm.com/read/366702/2866321
c instantiate2.c
// Test that 'static template' instantiates statics.
// { dg-do compile }
// { dg-options "-fno-implicit-templates" }
template struct A {
static T t;
};
template T A::t = 0;
www.eeworm.com/read/366702/2870447
c typename9.c
// { dg-do run }
// { dg-options "-w" }
// Test to make sure that implicit typename doesn't break name binding rules.
typedef double A;
template class B {
typedef char A;
};
template
www.eeworm.com/read/366702/2873125
f90 optstring_1.f90
! Test optional character arguments. We still need to pass a string
! length for the absent arguments
program optional_string_1
implicit none
call test(1, "test");
call test(2, c=42, b="Hello
www.eeworm.com/read/366702/2876006
f90 interface_19.f90
! { dg-do run }
! PR33162 INTRINSIC functions as ACTUAL argument
! Test case adapted from PR by Jerry DeLisle
module m
implicit none
contains
subroutine sub(a)
optional :
www.eeworm.com/read/366702/2876133
f90 arrayio_derived_2.f90
! { dg-do compile }
! PR 24266: IO to/from arrays that are components of derived types.
program main
implicit none
type ice
character(len=80) :: mess(3)
end type ice
type(ice) :: tp
int
www.eeworm.com/read/366702/2876144
f90 volatile.f90
! { dg-do run }
! Test whether volatile statements and attributes are accepted
! PR fortran/29601
program volatile_test
implicit none
real :: l,m
real, volatile :: r = 3.
volatile :: l
l = 4
www.eeworm.com/read/366702/2876265
f90 io_real_boz.f90
! { dg-do run }
! Test reading/writing of integer, real and character BOZ
! non-integer BOZ are not valid in standard Fortran, however.
! PR fortran/29625
program real_boz
implicit none
integer(4)
www.eeworm.com/read/366702/2876309
f90 interface_2.f90
! { dg-do compile }
! PR fortran/24545
MODULE Compare_Float_Numbers
IMPLICIT NONE
INTERFACE Compare_Float
MODULE PROCEDURE Compare_Float_Single
END INTERFACE Compare_Float
INTERFACE OPE
www.eeworm.com/read/366702/2876365
f90 isnan_2.f90
! Test for the ISNAN intrinsic on constants
!
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -pedantic-errors -mieee" { target sh*-*-* } }
!
implicit none
cha
www.eeworm.com/read/366702/2876479
f90 auto_pointer_array_result_1.f90
! { dg-do run }
! Tests the fixes for PR25597 and PR27096.
!
! This test combines the PR testcases.
!
character(10), dimension (2) :: implicit_result
character(10), dimension (2) :: explicit_resul