Debian Codegraph @

tests/dmd/fail_compilation/imports/a11919.d

raw
1 void doBar(T)(T t)
2 {
3 static if (t.tupleof.length)
4 if (zoo!t.length == 0) {}
5 static if (is(T B == super)
6 && is(B[0] == class)
7 && is(B[])
8 )
9 {
10 B[0] b = t;
11 doBar(b);
12 }
13 }
14 template zoo(alias t)
15 {
16 enum zoo = __traits(getAttributes, t.tupleof);
17 }