summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test9435.d
blob: 5ef507961adcbdaac8c919b94a6b6315d2e4e20f (plain)
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!".")))
{
}