PR/35842
* gcc.dg/torture/pr35842.c: New.
From-SVN: r133980
+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.
--- /dev/null
+/* { 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);
+ }
+}