Debian Codegraph @

gcc/testsuite/gdc.test/compilable/testheaderudamodule.d

raw
1 /*
2 REQUIRED_ARGS: -o- -H -Hf${RESULTS_DIR}/compilable/testheaderudamodule.di
3 PERMUTE_ARGS:
4 OUTPUT_FILES: ${RESULTS_DIR}/compilable/testheaderudamodule.di
5
6 TEST_OUTPUT:
7 ---
8 === ${RESULTS_DIR}/compilable/testheaderudamodule.di
9 // D import file generated from 'compilable/testheaderudamodule.d'
10 @(1, UDA(2))
11 module testheaderudamodule;
12 struct UDA
13 {
14 int a;
15 }
16 void main();
17 void foo(@(1) int bar, @UDA(2) string bebe);
18 ---
19 */
20
21 @(1, UDA(2))
22 module testheaderudamodule;
23
24 struct UDA
25 {
26 int a;
27 }
28
29 void main() {}
30
31 void foo(@(1) int bar, @UDA(2) string bebe) {}