modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr41016.c (about)

     1  typedef struct _IO_FILE FILE;
     2  void
     3  CompareRNAStructures (FILE * ofp, int start, int L, char *ss_true, char *ss)
     4  {
     5    int i;
     6    float agree = 0.;
     7    float pairs = 0.;
     8    float pairs_true = 0.;
     9    for (i = 0; i < L; i++)
    10      {
    11        pairs_true += 1.;
    12        agree += 1.;
    13      }
    14    if (((int) pairs % 2 != 0) || ((int) pairs_true % 2 != 0)
    15        || ((int) agree % 2 != 0))
    16      Die ("Error in CompareRNAStrutures(); odd number of paired nucleotides\n");
    17  }