Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test9435.d

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