]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/runnable/link7745.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / runnable / link7745.d
1 // COMPILE_SEPARATELY
2 // EXTRA_SOURCES: imports/link7745b.d
3 // PERMUTE_ARGS:
4
5 import imports.link7745b;
6
7 bool forceSemantic7745()
8 {
9 C c;
10 c.asdfg();
11 return true;
12 }
13 static assert(forceSemantic7745());
14
15 void f(C c) { auto x = &c.asdfg; }
16
17 void main() {
18 // extra test for bug 4820
19 nextis!(int)();
20 }