mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00

* [.di generation] Show TypeCtor method attributes after parameters Follow up to https://github.com/dlang/dmd/pull/16708. * Add changelog
34 lines
648 B
D
34 lines
648 B
D
/*
|
|
REQUIRED_ARGS: -c -o- -Hf${RESULTS_DIR}/compilable/header18365.di
|
|
PERMUTE_ARGS:
|
|
OUTPUT_FILES: ${RESULTS_DIR}/compilable/header18365.di
|
|
|
|
TEST_OUTPUT:
|
|
---
|
|
=== ${RESULTS_DIR}/compilable/header18365.di
|
|
// D import file generated from 'compilable/header18365.d'
|
|
struct FullCaseEntry
|
|
{
|
|
dchar[3] seq;
|
|
ubyte n;
|
|
ubyte size;
|
|
ubyte entry_len;
|
|
auto pure nothrow @nogc @property @trusted value() const return
|
|
{
|
|
return seq[0..entry_len];
|
|
}
|
|
}
|
|
---
|
|
*/
|
|
|
|
struct FullCaseEntry
|
|
{
|
|
dchar[3] seq;
|
|
ubyte n, size;
|
|
ubyte entry_len;
|
|
|
|
@property auto value() const @trusted pure nothrow @nogc return
|
|
{
|
|
return seq[0 .. entry_len];
|
|
}
|
|
}
|