Searched refs:array (Results 1 - 25 of 779) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/headers/array/
H A Dstd_c++0x_neg.cc21 #include <array>
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dbrace3.C1 int array[2][1] = { {0} {1} }; // { dg-error "" } variable
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Drfg12.C2 int array[3] = { 1, 2, 3, 4 }; /* { dg-error "" } excess initializer elements */ variable
H A Drfg8.C4 union U { int mbr; } array[1] = { 0 }; variable in typeref:union:U
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dcontinuation_10.f907 integer, dimension(50) :: array variable in program:test_mod
9 array = 1
13 array(2), &
15 array(4), &
17 array(6), &
19 array(8), &
21 array(10), &
23 array(12), &
25 array(14), &
27 array(1
[all...]
H A Dpr20257.f904 real(8) array(10000) variable
6 array(:) = 0
8 write (10,*) array
H A Dselect_type_34.f907 integer :: array variable
8 select type (a => array) ! { dg-error "Selector shall be polymorphic" }
H A Dpointer_intent_5.f9010 integer, pointer :: array(:) variable in program:bots_sparselu_pointer_intent_in
12 allocate(array(4))
13 array = 0
14 call sub(array)
15 if (sum(array)/=1) call abort
H A Dmerge_init_expr.f906 INTEGER, PARAMETER :: array(3) = [1, 2, 3] variable
12 INTEGER, PARAMETER :: array_1(3) = MERGE (array, 0, .TRUE.)
13 INTEGER, PARAMETER :: array_2(3) = MERGE (array, 0, .FALSE.)
14 INTEGER, PARAMETER :: array_3(3) = MERGE (0, array, .TRUE.)
15 INTEGER, PARAMETER :: array_4(3) = MERGE (0, array, .FALSE.)
17 INTEGER, PARAMETER :: array_6(3) = MERGE (array, -array, mask)
19 INTEGER, PARAMETER :: array_7(3) = MERGE ([1,2,3], -array, mask)
22 IF (.NOT. ALL (array_1 == array)) CALL abort
25 IF (.NOT. ALL (array_4 == array)) CAL
[all...]
H A Dintrinsic_size.f907 integer array(5), i1, i2 variable
8 print *, size(array,(/i1,i2/)) ! { dg-error "must be a scalar" }
9 print *, size(array,i1,(/i1,i2/)) ! { dg-error "must be a scalar" }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dssa-pre-7.c4 foo (int *array) argument
6 if (array[1] != 0)
7 return array[1];
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.bob/
H A Darray1.C3 char array[10]; // { dg-warning "" } local
5 return array;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/
H A D1.cc21 #include <array>
23 template class std::array<int, 5>; member in class:std
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A DWframe-larger-than.c11 char array[4096]; local
12 func(array);
H A Dunroll-1.c9 int array[6] = { 1,2,3,4,5,6 }; variable
16 array[i] = 0;
22 if (array[0] || array [1] || array[2] || array[3] || array[4])
24 if (array[5] != 6)
H A D20030321-1.c7 struct array struct
14 test (struct array *array, int i) argument
16 return array->elem[i];
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dpr54457.c5 extern char array[40];
9 return array[position + 1];
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/6_containers/array/requirements/
H A Dexplicit_instantiation.cc23 // 6.2.2 Class template array
25 #include <tr1/array>
27 template class std::tr1::array<int, 5>; member in class:std::tr1
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/cilk-plus/AN/
H A Drank_mismatch.c10 int array[10][10], array2[10]; local
12 array[:][:] = array[:]; /* { dg-error "rank mismatch between" } */
H A Dsec_implicit.c6 int array[10][10], array2[10]; local
8 array[:][:] = __sec_implicit_index(5) + array[:][:]; /* { dg-error "__sec_implicit_index argument" } */
H A Dvla.c12 int array[argc]; local
14 array[:] = 5; /* { dg-error "start-index and length fields necessary for using array notations in variable-length arrays." } */
15 array[0:argc] = 5; /* This is OK. */
16 array[0:5:2] = 5; /* This is OK. */
17 array[0:argc:2] = 5; /* This is OK. */
18 array[0:argc:func (argc-2)] = 5; /* This is OK. */
H A Dgather-scatter-errors.c6 int array[10][10], array2[10]; local
8 array2[array[:][:]] = 5; /* { dg-error "rank of the array's index is greater than 1" } */
10 array2[array[:][:]] = 5; /* { dg-error "rank of the array's index is greater than 1" } */
11 func (array2[array[:][:]]); /* { dg-error "rank of the array's index is greater than 1" } */
12 func (array2[array[argc:func(5)][0:10:2]]); /* { dg-error "rank of the array's index is greater than 1" } */
14 array[array
[all...]
H A Dsec_implicit2.c7 int array[10][10], array2[10]; local
9 array[:][:] = __sec_implicit_index(argc) + array[:][:]; /* { dg-error "__sec_implicit_index parameter" } */
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dcvt13.C9 typedef int array[10]; typedef
11 void f(array &arg)
17 array var;
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D970217-1.c1 sub (int i, int array[i++]) argument
8 int array[10]; local
9 exit (sub (10, array) != 11);

Completed in 226 milliseconds

1234567891011>>