summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr35842.c
blob: 05b26d84c11b0d93c3c8be42e40f901fe7d48c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target { *-*-mingw* } } } */
extern __attribute__((dllimport)) const int SSL_ImplementedCiphers[];
extern void SSL_GetCipherSuiteInfo(int cipherSuite);
void nsCipherInfo(int SSL_NumImplementedCiphers)
{
  int i;
  for (i = 0; i < SSL_NumImplementedCiphers; ++i)
    {
      const int i_id = SSL_ImplementedCiphers[i];
      SSL_GetCipherSuiteInfo(i_id);
    }
}