dmd/compiler/test/compilable/testheaderudamodule.d
2022-07-09 18:53:07 +02:00

31 lines
554 B
D

/*
REQUIRED_ARGS: -o- -H -Hf${RESULTS_DIR}/compilable/testheaderudamodule.di
PERMUTE_ARGS:
OUTPUT_FILES: ${RESULTS_DIR}/compilable/testheaderudamodule.di
TEST_OUTPUT:
---
=== ${RESULTS_DIR}/compilable/testheaderudamodule.di
// D import file generated from 'compilable/testheaderudamodule.d'
@(1, UDA(2))
module testheaderudamodule;
struct UDA
{
int a;
}
void main();
void foo(@(1) int bar, @UDA(2) string bebe);
---
*/
@(1, UDA(2))
module testheaderudamodule;
struct UDA
{
int a;
}
void main() {}
void foo(@(1) int bar, @UDA(2) string bebe) {}