aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/g++.dg/ext/spe1.C
blob: 8b1e630ecc03734cf0fc27f2de71db04bd25d5c2 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */

typedef int v2si __attribute__ ((vector_size (8)));

/* The two specializations must be considered different.  */
template <class T> class X		    { };
template <>        class X<__ev64_opaque__> { };
template <>        class X<v2si>	    { };