https://issues.dlang.org/show_bug.cgi?id=20596
--- Comment #7 from [email protected] --- Another example that fails compilation: ``` struct S(T) { void delegate() dg; this(scope void delegate() dg) { this.dg = dg; } } // The explicit `scope` here is not used in `fooTemplate` @nogc auto dosomething(scope S!int s) { } @nogc auto fooTemplate() { int num; void foo() { int dummy = num; } dosomething(S!int(&foo)); } ``` --
