Commit 349dfad9 by Joseph Myers Committed by Joseph Myers

* gcc.dg/c99-restrict-2.c: New test.

From-SVN: r72889
parent 14628700
2003-10-24 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c99-restrict-2.c: New test.
2003-10-24 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12698, c++/12699, c++/12700, c++/12566
......
/* Test for restrict: in C99 only. Test handling of arrays of restricted
pointers. */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
typedef int *ipa[2];
int *restrict x[2];
restrict ipa y;
void f(int *restrict a[2], restrict ipa b, int *restrict c[restrict]);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment