* gcc.dg/c90-vla-1.c: Reflect the change of the error message.
* gcc.dg/c99-vla-1.c: Likewise.
* g++.dg/ext/vla1.C: Likewise
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122871
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-03-12 Seongbae Park <seongbae.park@gmail.com>
+
+ * gcc.dg/c90-vla-1.c: Reflect the change of the error message.
+ * gcc.dg/c99-vla-1.c: Likewise.
+ * g++.dg/ext/vla1.C: Likewise
+
2007-03-12 Seongbae Park <seongbae.park@gmail.com>
* gcc.dg/wvla-1.c: New test
A::A (int i)
{
- int ar[1][i]; // { dg-error "variable-size array" }
+ int ar[1][i]; // { dg-error "variable length array" }
ar[0][0] = 0;
}
void
tdef (int n)
{
- typedef int A[n]; /* { dg-error "forbids variable-size array" } */
+ typedef int A[n]; /* { dg-error "forbids variable length array" } */
A a;
A *p;
p = &a;
void
tdef (int n)
{
- typedef int A[n]; /* { dg-bogus "forbids variable-size array" } */
+ typedef int A[n]; /* { dg-bogus "forbids variable length array" } */
A a;
A *p;
p = &a;