MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test19661.d
blob369c0a8624954e1e3719f0f1611ac0731324409b
1 /*
2 EXTRA_FILES: imports/imp19661.d
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test19661.d(11): Error: variables cannot be initialized with an expression of type `void`. Use `void` initialization instead.
6 ---
7 */
9 module ice19661;
11 immutable bool testModule = testFunctionMembers!();
13 void testFunctionMembers()() {
14 import imports.imp19661 : isFunction;
15 foreach(member; __traits(allMembers, ice19661)) {
16 bool b = isFunction!(__traits(getMember, ice19661, member));