1 /* TEST_OUTPUT: 2 --- 3 fail_compilation/fail17421.d(14): Error: argument to `__traits(getFunctionVariadicStyle, 1)` is not a function 4 fail_compilation/fail17421.d(14): while evaluating: `static assert(__traits(getFunctionVariadicStyle, 1) == "none")` 5 fail_compilation/fail17421.d(15): Error: argument to `__traits(getFunctionVariadicStyle, int*)` is not a function 6 fail_compilation/fail17421.d(15): while evaluating: `static assert(__traits(getFunctionVariadicStyle, int*) == "none")` 7 --- 8 */ 9 10 // https://issues.dlang.org/show_bug.cgi?id=17421 11 12 alias int* x; 13 14 static assert(__traits(getFunctionVariadicStyle, 1) == "none"); 15 static assert(__traits(getFunctionVariadicStyle, x) == "none"); 16 17