Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr35842.c

raw
1 /* { dg-do compile { target { *-*-mingw* } } } */
2 extern __attribute__((dllimport)) const int SSL_ImplementedCiphers[];
3 extern void SSL_GetCipherSuiteInfo(int cipherSuite);
4 void nsCipherInfo(int SSL_NumImplementedCiphers)
5 {
6 int i;
7 for (i = 0; i < SSL_NumImplementedCiphers; ++i)
8 {
9 const int i_id = SSL_ImplementedCiphers[i];
10 SSL_GetCipherSuiteInfo(i_id);
11 }
12 }