Skip to content

Instantly share code, notes, and snippets.

@acdimalev
Created June 25, 2010 00:50
Show Gist options
  • Save acdimalev/452231 to your computer and use it in GitHub Desktop.
Save acdimalev/452231 to your computer and use it in GitHub Desktop.
#include <stdint.h>
#include <stdio.h>
// sanity check
// test for eight-bit-bytes
int main(int argc, char **argv) {
if (255 == UINT_LEAST8_MAX) {
printf("pass\n");
return 0;
} else {
printf("fail\n");
return -1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment