URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [other/] [opaque-1.C] - Rev 12
Compare with Previous | Blame | View Log
/* { dg-do run { target powerpc-*-eabispe* } } */
#define __vector __attribute__((vector_size(8)))
typedef float __vector __ev64_fs__;
__ev64_fs__ f;
__ev64_opaque__ o;
int here = 0;
void bar (__ev64_opaque__ x)
{
here = 0;
}
void bar (__ev64_fs__ x)
{
here = 888;
}
int main ()
{
f = o;
o = f;
bar (f);
if (here != 888)
return 1;
return 0;
}