summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-arraydecl-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-arraydecl-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/c99-arraydecl-3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-arraydecl-3.c b/gcc/testsuite/gcc.dg/c99-arraydecl-3.c
index 2ab927d6ab2..9f383b9c3bb 100644
--- a/gcc/testsuite/gcc.dg/c99-arraydecl-3.c
+++ b/gcc/testsuite/gcc.dg/c99-arraydecl-3.c
@@ -7,7 +7,7 @@
void
f0 (int a[restrict])
{
- int **b = &a; /* { dg-error "discards qualifiers" } */
+ int **b = &a; /* { dg-error "discards 'restrict' qualifier" } */
int *restrict *c = &a;
}
@@ -15,6 +15,6 @@ void
f1 (a)
int a[restrict];
{
- int **b = &a; /* { dg-error "discards qualifiers" } */
+ int **b = &a; /* { dg-error "discards 'restrict' qualifier" } */
int *restrict *c = &a;
}