Newer
Older
dub_jkp / examples / injected-from-dependency / dependency / source / something.d
  1. module something;
  2.  
  3. void doSomething() {
  4. import core.stdc.stdio;
  5.  
  6. version(D_BetterC) {
  7. printf("druntime is not in the executable :(\n");
  8. } else {
  9. printf("druntime is in executable!\n");
  10. }
  11. }