mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
14 lines
258 B
D
14 lines
258 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail16206b.d(14): Error: expected 2 arguments for `hasMember` but had 3
|
|
---
|
|
*/
|
|
|
|
struct S
|
|
{
|
|
static int foo()() { return 0; }
|
|
}
|
|
|
|
alias AliasSeq(T...) = T;
|
|
alias allFoos = AliasSeq!(__traits(hasMember, S, "foo", true));
|