]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gdc.test/compilable/b16697.d
Add D front-end, libphobos library, and D2 testsuite.
[gcc.git] / gcc / testsuite / gdc.test / compilable / b16697.d
1 version(D_SIMD)
2 {
3 static assert(!is( float == __vector));
4 static assert(!is( float[1] == __vector));
5 static assert(!is( float[4] == __vector));
6 static assert( is(__vector(float[4]) == __vector));
7 static assert(!is(__vector(float[3]) == __vector));
8 static assert(!is(__vector(float[5]) == __vector));
9 static assert( is(__vector(float[4]) X == __vector) &&
10 is(X == float[4]));
11 static assert( is(__vector(byte[16]) X == __vector) &&
12 is(X == byte[16]));
13 }
This page took 0.035533 seconds and 5 git commands to generate.