Skip to content

Commit

Permalink
Merge pull request #1108 from 9rnsr/fix8630
Browse files Browse the repository at this point in the history
Add test case for issue 8630.
  • Loading branch information
braddr committed Sep 9, 2012
2 parents 560951c + 12427da commit 299c489
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/fail_compilation/ice8630.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
auto map(alias func, R)(R r) { return r; }
typeof(v) foo(R)(R v) { return map!(p=>p)(v); }
void main() { foo([1]); }

0 comments on commit 299c489

Please sign in to comment.