]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/runnable/test38.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / runnable / test38.d
1 /*
2 COMPILE_SEPARATELY
3 EXTRA_SOURCES: imports/test38a.d
4 PERMUTE_ARGS:
5 RUN_OUTPUT:
6 ---
7 b = 49, 49
8 ---
9 */
10
11 import core.stdc.stdio;
12 import imports.test38a;
13
14 void main()
15 {
16 static b = bar(7);
17 printf("b = %d, %d\n", b, bar(7));
18 assert(b == 49);
19 }