1. Vincenzo Ampolo
  2. gdc

Source

gdc / gdc.test / fail_compilation / fail186.d

1
2
3
4
5
6
7
8
9
class C(T...) {
  void a(T[] o) {
    foreach(p; o) int a = 1;
  }
}

alias C!(int) foo;