OSDN Git Service

2010-03-31 Martin Jambor <mjambor@suse.cz>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / torture / pr35842.c
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 }