gcc/testsuite/gdc.test/compilable/imports/imp16085.d
raw| 1 | struct Pass |
| 2 | { |
| 3 | } |
| 4 | |
| 5 | struct S |
| 6 | { |
| 7 | import imports.imp16085b : functionAndFunction, staticFunctionAndFunction, |
| 8 | functionAndTemplate, templateAndTemplate; //<- private |
| 9 | // public |
| 10 | Pass functionAndFunction() |
| 11 | { |
| 12 | return Pass(); |
| 13 | } |
| 14 | |
| 15 | static Pass staticFunctionAndFunction() |
| 16 | { |
| 17 | return Pass(); |
| 18 | } |
| 19 | |
| 20 | Pass functionAndTemplate() |
| 21 | { |
| 22 | return Pass(); |
| 23 | } |
| 24 | |
| 25 | Pass templateAndTemplate()() |
| 26 | { |
| 27 | return Pass(); |
| 28 | } |
| 29 | } |