dmd/test/fail_compilation/makedeps_doubleparam.d
Luís Ferreira d199b61d81
test: make testsuite conform with POSIX 3.206 (#13639)
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2022-02-14 11:14: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();
}