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

23 lines
544 B
D

/*
PERMUTE_ARGS:
REQUIRED_ARGS: -makedeps=${RESULTS_DIR}/compilable/makedeps.dep -makedeps=other-file.dep -Jcompilable/extra-files -Icompilable/extra-files
TEST_OUTPUT:
---
Error: -makedeps[=file] can only be provided once!
run `dmd` to print the compiler manual
run `dmd -man` to open browser on manual
---
*/
module makedeps_doubleparam;
// Test import statement
import makedeps_a;
// Test import expression
enum text = import("makedeps-import.txt");
static assert(text == "Imported text\x0a");
void main()
{
a_func();
}