]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/test16085.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / test16085.d
1 // REQUIRED_ARGS: -de
2 // PERMUTE_ARGS:
3 import imports.imp16085;
4
5 void test()
6 {
7 S s;
8 assert(s.functionAndFunction() == Pass());
9 assert(s.staticFunctionAndFunction() == Pass());
10 // assert(S.staticFunctionAndFunction() == Pass()); // erroneous not accessible error
11 assert(s.functionAndTemplate() == Pass());
12 assert(s.templateAndTemplate() == Pass());
13 }