gcc/testsuite/gdc.dg/gdc170.d
raw| 1 | // https://bugzilla.gdcproject.org/show_bug.cgi?id=170 |
| 2 | // { dg-options "-I $srcdir/gdc.dg" } |
| 3 | // { dg-do compile } |
| 4 | |
| 5 | import imports.gdc170; |
| 6 | |
| 7 | void test170() |
| 8 | { |
| 9 | foo!void.foo1!void(); |
| 10 | foo!void.foo2!void(); |
| 11 | foo!void.foo3(); |
| 12 | foo!void.foo3!void(); |
| 13 | foo!void.foo4(); |
| 14 | foo!void.foo4!void(); |
| 15 | foo!void.foo5!void(null); |
| 16 | foo!void.foo6!void(null); |
| 17 | foo!void.foo7(null); |
| 18 | foo!void.foo7!void(null); |
| 19 | foo!void.foo8(null); |
| 20 | foo!void.foo8!void(null); |
| 21 | } |