posix-abstract-declarator.c 316 B

1234567891011121314151617181920212223242526
  1. #ifdef POSIXFAIL_ABSTRACT_DECLARATOR
  2. static int func(int ARGNAME[static restrict 1]);
  3. #else
  4. static int func(int [static restrict 1]);
  5. #endif
  6. int
  7. func(int arr[static restrict 1])
  8. {
  9. (void)arr; /* UNUSED */
  10. /* Success! */
  11. return (0);
  12. }
  13. int
  14. main(void)
  15. {
  16. (void)func; /* UNUSED */
  17. /* Success! */
  18. return (0);
  19. }