mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
14 lines
429 B
D
14 lines
429 B
D
// REQUIRED_ARGS: -de
|
|
// EXTRA_FILES: imports/imp16085.d imports/imp16085b.d
|
|
// PERMUTE_ARGS:
|
|
import imports.imp16085;
|
|
|
|
void test()
|
|
{
|
|
S s;
|
|
assert(s.functionAndFunction() == Pass());
|
|
assert(s.staticFunctionAndFunction() == Pass());
|
|
// assert(S.staticFunctionAndFunction() == Pass()); // erroneous not accessible error
|
|
assert(s.functionAndTemplate() == Pass());
|
|
assert(s.templateAndTemplate() == Pass());
|
|
}
|