mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
18 lines
246 B
D
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!".")))
|
|
{
|
|
}
|