posix-restrict.c 156 B

12345678910111213141516
  1. static int
  2. foo(const char * restrict x, const char * restrict y)
  3. {
  4. return (x == y);
  5. }
  6. int
  7. main(void)
  8. {
  9. char x[10];
  10. char y[10];
  11. return (foo(x, y));
  12. }