MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail19898b.d
blob5101da5617b914b7d7fe6063822d6a8c483bde1c
1 /*
2 REQUIRED_ARGS: -m64
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail19898b.d(17): Error: cannot implicitly convert expression `m` of type `S` to `__vector(int[4])`
6 fail_compilation/fail19898b.d(17): Error: expression `__key2 != __limit3` of type `__vector(int[4])` does not have a boolean value
7 fail_compilation/fail19898b.d(17): Error: cannot cast expression `__key2` of type `__vector(int[4])` to `S`
8 ---
9 */
10 struct S
12 int a;
15 void f (__vector(int[4]) n, S m)
17 foreach (i; m .. n)
18 cast(void)n;