Don't warn when alignment of global common data exceeds maximum alignment.
[official-gcc.git] / gcc / testsuite / gdc.dg / gdc170.d
bloba63db31b8fba3130efc9a6e0982f29c11e2195e5
1 // https://bugzilla.gdcproject.org/show_bug.cgi?id=170
2 // { dg-options "-I $srcdir/gdc.dg" }
3 // { dg-do compile }
5 import imports.gdc170;
7 void test170()
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);