This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Failure of test g++.dg/init/array10.C
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- To: <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 18 Jul 2003 16:45:12 +1000
- Subject: Failure of test g++.dg/init/array10.C
I have been working though the irix failures for 3.4.
Test g++.dg/init/array10.C fails on most platforms with
[...]/array10.C:5: error: ISO C++ forbids compound-literals
Is this a bug or an invalid test?
The test is
// { dg-do compile }
typedef int __attribute__((mode(V2SI))) vec;
vec foo[] = { (vec) {1, 2} };