Debian Codegraph @

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

raw
1 /*
2 REQUIRED_ARGS: -c -o- -Hf${RESULTS_DIR}/compilable/header18365.di
3 PERMUTE_ARGS:
4 OUTPUT_FILES: ${RESULTS_DIR}/compilable/header18365.di
5
6 TEST_OUTPUT:
7 ---
8 === ${RESULTS_DIR}/compilable/header18365.di
9 // D import file generated from 'compilable/header18365.d'
10 struct FullCaseEntry
11 {
12 dchar[3] seq;
13 ubyte n;
14 ubyte size;
15 ubyte entry_len;
16 auto pure nothrow @nogc @property @trusted value() const return
17 {
18 return seq[0..entry_len];
19 }
20 }
21 ---
22 */
23
24 struct FullCaseEntry
25 {
26 dchar[3] seq;
27 ubyte n, size;
28 ubyte entry_len;
29
30 @property auto value() const @trusted pure nothrow @nogc return
31 {
32 return seq[0 .. entry_len];
33 }
34 }