]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/test15550.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / test15550.d
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")));