blob: 044857eed7ecc53f3ad9f535bc917dc1f8cc683d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <assert.h>
#include <stdio.h>
int main(int argc, char **argv) {
char c = CHAR;
assert(argc == 2);
if (c != argv[1][0])
fprintf(stderr, "Expected %x, got %x\n", (unsigned int) c, (unsigned int) argv[1][0]);
assert(c == argv[1][0]);
return 0;
}
|