Source

gdc / gdc.test / fail_compilation / fail345.d

Full commit
1
2
3
4
5
6
7
8
9
// 3775

struct Bug3775 {    
  static int byLine()()    { return 1;   }
}

static assert( cast(int) Bug3775.byLine);