Newer
Older
dub_jkp / test / issue2377-dynLib-dep-extra-files / parent / source / app.d
@Martin Kinkelin Martin Kinkelin on 17 Sep 2022 258 bytes [add tests]
  1. module app;
  2.  
  3. // Add a dummy export to enforce creation of import .lib and .exp file for the (Windows) executable.
  4. // They shouldn't be copied to the output dir though.
  5. export void dummy() {}
  6.  
  7. void main() {
  8. import parent;
  9. parent_bar();
  10. dummy();
  11. }