// tls without workaround broken on all platforms // just test ldc accept this option // RUN: %ldc -enable-dynamic-compile -dynamic-compile-tls-workaround=0 -run %s // RUN: %ldc -enable-dynamic-compile -dynamic-compile-tls-workaround=1 -run %s import ldc.attributes; import ldc.dynamic_compile; @dynamicCompile void foo() { } void main(string[] args) { compileDynamicCode(); foo(); }