Debian Codegraph @

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

raw
1 // REQUIRED_ARGS: -o-
2 // PERMUTE_ARGS:
3
4 struct Vector(T, int N)
5 {
6 void opDispatch(string, U)(U)
7 {
8 }
9
10 void baz(string, U)(U)
11 {
12 }
13 }
14
15 static assert(!is(typeof(Vector!(int, 2)._isMatrix)));
16 static assert(!is(typeof(Vector!(int, 2).baz!"_isMatrix")));