libdpf/thirdparty/hedley/test/static-assert.c

16 lines
369 B
C
Raw Normal View History

#include "../hedley.h"
#if HEDLEY_IAR_VERSION_CHECK(8,0,0)
# pragma diag_suppress=Pe381
#elif defined(HEDLEY_SUNPRO_VERSION) && !defined(__cplusplus)
# pragma error_messages(off,E_EMPTY_DECLARATION)
#elif defined(HEDLEY_TI_VERSION)
# pragma diag_suppress 383
#endif
HEDLEY_STATIC_ASSERT(sizeof(char) == 1, "char must be one byte");
int main(void) {
return 0;
}