]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/testheader3.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / testheader3.d
1 /*
2 EXTRA_SOURCES: extra-files/header3.d
3 REQUIRED_ARGS: -o- -unittest -H -Hf${RESULTS_DIR}/compilable/testheader3.di
4 PERMUTE_ARGS: -d -dw
5 OUTPUT_FILES: ${RESULTS_DIR}/compilable/testheader3.di
6
7 TEST_OUTPUT:
8 ---
9 === ${RESULTS_DIR}/compilable/testheader3.di
10 // D import file generated from 'compilable/extra-files/header3.d'
11 auto elseifchain()
12 {
13 bool a, b, c;
14 if (a)
15 {
16 }
17 else if (b)
18 {
19 }
20 else if (c)
21 {
22 }
23 }
24 ---
25 */
26
27 void main() {}