dmd/compiler/test/compilable/test9435.d
2022-07-09 18:53:07 +02:00

18 lines
246 B
D

// 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!".")))
{
}