10 static if(is(arg
== int))
14 static if(is(arg
== long))
17 ++x
; // this statement might be unreachable, but
18 // UnrollStatement does not warn that.
26 auto r1
= foo
!(int)(); // return
27 auto r2
= foo
!(int, long)(); // return -> fallthrough (it's unreachable)
28 auto r3
= foo
!(long, int)(); // fallthough -> return
29 static assert(!__traits(compiles
, foo
!(long)())); // fallthough
30 static assert(!__traits(compiles
, foo
!(long, long)())); // fallthough -> fallthough