genex_test.c 703 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef EXPECT_C_STATIC_ASSERT
  2. #error EXPECT_C_STATIC_ASSERT not defined
  3. #endif
  4. #ifndef EXPECT_C_FUNCTION_PROTOTYPES
  5. #error EXPECT_C_FUNCTION_PROTOTYPES not defined
  6. #endif
  7. #ifndef EXPECT_C_RESTRICT
  8. #error EXPECT_C_RESTRICT not defined
  9. #endif
  10. #if !EXPECT_C_STATIC_ASSERT
  11. #if EXPECT_C_STATIC_ASSERT
  12. #error "Expect c_static_assert feature"
  13. #endif
  14. #else
  15. #if !EXPECT_C_STATIC_ASSERT
  16. #error "Expect no c_static_assert feature"
  17. #endif
  18. #endif
  19. #if !EXPECT_C_FUNCTION_PROTOTYPES
  20. #error Expect c_function_prototypes support
  21. #endif
  22. #if !EXPECT_C_RESTRICT
  23. #if EXPECT_C_RESTRICT
  24. #error Expect c_restrict support
  25. #endif
  26. #else
  27. #if !EXPECT_C_RESTRICT
  28. #error Expect no c_restrict support
  29. #endif
  30. #endif
  31. int main()
  32. {
  33. }