1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// EXTRA_FILES: test9434.d import test9434;//expression; enum TokenType { Dot } template Tok(string type) { enum Tok = TokenType.Dot; } template Semantic(T) { invariant(){} } template Semantic(T) if (is(T == BinaryExp!(Tok!"."))) { }