1 /*
2 REQUIRED_ARGS: -o-
3 EXTRA_FILES: imports/fail17646.d
4 TEST_OUTPUT:
5 ---
6 fail_compilation/imports/fail17646.d(10): Error: found `}` instead of statement
7 fail_compilation/imports/fail17646.d(7): Error: function `imports.fail17646.allTestData!"".allTestData` has no `return` statement, but is expected to return a value of type `const(TestData)[]`
8 fail_compilation/fail17646.d(16): Error: template instance `imports.fail17646.allTestData!""` error instantiating
9 fail_compilation/fail17646.d(19):        instantiated from here: `runTests!""`
10 ---
11 */
runTests(Modules...)12 int runTests(Modules...)()
13 {
14     import imports.fail17646;
15 
16     allTestData!Modules;
17 }
18 
19 alias fail = runTests!"";
20