libphobos/libdruntime/core/internal/attributes.d
raw| 1 | module core.internal.attributes; |
| 2 | |
| 3 | /** |
| 4 | Used to annotate `unittest`s which need to be tested in a `-betterC` environment. |
| 5 | |
| 6 | Such `unittest`s will be compiled and executed without linking druntime in, with |
| 7 | a `__traits(getUnitTests, mixin(__MODULE__))` style test runner. |
| 8 | Note that just like any other `unittest` in druntime, they will also be compiled |
| 9 | and executed without `-betterC`. |
| 10 | */ |
| 11 | package(core) enum betterC = 1; |