OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / spe1.C
1 /* { dg-do compile } */
2 /* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */
3 /* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */
4
5 typedef int v2si __attribute__ ((vector_size (8)));
6
7 /* The two specializations must be considered different.  */
8 template <class T> class X                  { };
9 template <>        class X<__ev64_opaque__> { };
10 template <>        class X<v2si>            { };