c99-arraydecl-3.c
来自「用于进行gcc测试」· C语言 代码 · 共 21 行
C
21 行
/* Test for C99 forms of array declarator. Test restrict qualifiers properly applied to type of parameter. *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-options "-std=iso9899:1999 -pedantic-errors" } */voidf0 (int a[restrict]){ int **b = &a; /* { dg-error "discards qualifiers" } */ int *restrict *c = &a;}voidf1 (a) int a[restrict];{ int **b = &a; /* { dg-error "discards qualifiers" } */ int *restrict *c = &a;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?