summaryrefslogtreecommitdiffstats
path: root/lib/ccan/endian/test/compile_ok-constant.c
blob: 1aef1dd1997cb7220fb039a59b9c63fde0929ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <ccan/endian/endian.h>

struct foo {
	char one[BSWAP_16(0xFF00)];
	char two[BSWAP_32(0xFF000000)];
	char three[BSWAP_64(0xFF00000000000000ULL)];
};

int main(void)
{
	return 0;
}
OpenPOWER on IntegriCloud