dmd/compiler/test/compilable/header18365.d
Nick Treleaven 3c13c3c548
[.di generation] Show TypeCtor method attributes after parameters (#16732)
* [.di generation] Show TypeCtor method attributes after parameters

Follow up to https://github.com/dlang/dmd/pull/16708.

* Add changelog
2024-07-20 16:01:45 +02:00

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];
}
}