MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail17570.d
blob9be7cd4b05fa65c90664243c0c931490a3667615
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail17570.d(12): Error: cannot use function constraints for non-template functions. Use `static if` instead
5 fail_compilation/fail17570.d(12): Error: declaration expected, not `if`
6 fail_compilation/fail17570.d(15): Error: `}` expected following members in `struct` declaration
7 fail_compilation/fail17570.d(11): struct `S` starts here
8 ---
9 */
11 struct S(T) {
12 void func() if(isIntegral!T)