qpdf/qpdf/test_char_sign.cc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
180 B
C++
Raw Permalink Normal View History

#include <cstdio>
2022-09-28 11:25:52 +00:00
int
main()
{
char ch = '\xf7';
if (ch < 0) {
printf("char is signed\n");
} else {
printf("char is unsigned\n");
}
return 0;
}