Commit cd035e34 by Kai Tietz Committed by Kai Tietz

pr35842.c: New.

	PR/35842
	* gcc.dg/torture/pr35842.c: New.

From-SVN: r133980
parent 7437c8d4
2008-04-07 Kai Tietz <kai.tietz@onevision.com>
PR/35842
* gcc.dg/torture/pr35842.c: New.
2008-04-07 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/array4.adb: New test.
/* { 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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment