代码搜索结果
找到约 10,000 项符合
Driver 的代码
t1driver.h.svn-base
/***************************************************************************/
/* */
/* t1driver.h
t1driver.c.svn-base
/***************************************************************************/
/* */
/* t1driver.c
global_vars_c_init_driver.c
int i = 2;
void test_globals(void);
extern void abort(void);
int main(int argc, char **argv)
{
/* verify that i has been initialized by f90 */
if(i != 2)
abort();
test_globals();
r
c_f_pointer_complex_driver.c
/* { dg-options "-std=c99 -w" } */
/* From c_by_val.c in gfortran.dg. */
#define _Complex_I (1.0iF)
#define NUM_ELEMS 10
void test_complex_scalars (float _Complex *float_complex_ptr,
bind_c_dts_2_driver.c
typedef struct c_type_0
{
int i;
int *ptr;
int array[3];
}c_type_0_t;
typedef struct c_type_1
{
c_type_0_t nested_type;
int *ptr;
int j;
}c_type_1_t;
void sub0(c_type_1_t *c_type, int ex
c_ptr_tests_7_driver.c
/* This is the driver for c_ptr_test_7. */
extern void abort(void);
void *func0();
int main(int argc, char **argv)
{
/* The Fortran module c_ptr_tests_7 contains function func0, which has
re
c_f_pointer_logical_driver.c
/* { dg-options "-std=c99 -w" } */
#include
#define NUM_ELEMS 10
void test_scalar(_Bool *my_c_bool_ptr);
void test_array(_Bool *my_bool_array, int num_elems);
int main(int argc, char *
c_funloc_tests_4_driver.c
#include
void sub0(void);
void c_sub0(void (*sub)(void));
void c_sub1(int (*func)(int));
extern void abort(void);
int main(int argc, char **argv)
{
printf("hello from C main\n");
s