diff options
Diffstat (limited to 'usr.bin/indent/tests/binary.0')
-rw-r--r-- | usr.bin/indent/tests/binary.0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/indent/tests/binary.0 b/usr.bin/indent/tests/binary.0 new file mode 100644 index 0000000..b2adc1f --- /dev/null +++ b/usr.bin/indent/tests/binary.0 @@ -0,0 +1,10 @@ +/* $FreeBSD$ */ +#define b00101010 -1 +void t(void) { + unsigned a[] = {0b00101010, 0x00005678, 02, 17U}; + float x[] = {.7f, 0.7f}; + unsigned long ul[] = {0b00001111UL, 0x01010101UL, 02UL, 17UL}; + + if (0 b00101010) + return; +} |