source: trunk/config.tests/unix/gnu-libiconv/gnu-libiconv.cpp@ 497

Last change on this file since 497 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 304 bytes
Line 
1#if defined(__sgi)
2#error "iconv not supported on IRIX"
3#else
4#include <iconv.h>
5
6int main(int, char **)
7{
8 iconv_t x = iconv_open("", "");
9
10 const char *inp;
11 char *outp;
12 size_t inbytes, outbytes;
13 iconv(x, &inp, &inbytes, &outp, &outbytes);
14
15 iconv_close(x);
16
17 return 0;
18}
19#endif
Note: See TracBrowser for help on using the repository browser.