expressions: make assign_expression() take an op argument
[smatch.git] / validation / endian-little.c
blob57ef69866eeebb1a272a30fddc3663a1786a666d
1 #if defined(__BIG_ENDIAN__)
2 #error "__BIG_ENDIAN__ defined!"
3 #endif
4 #if (__LITTLE_ENDIAN__ != 1)
5 #error "__LITTLE_ENDIAN__ not correctly defined!"
6 #endif
7 #if (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
8 #error "__BYTE_ORDER__ not correctly defined!"
9 #endif
12 * check-name: endian-little.c
13 * check-command: sparse -mlittle-endian $file