phobos/std/internal/attributes.d
2018-08-21 17:19:21 +02:00

11 lines
412 B
D

module std.internal.attributes;
/**
Used to annotate `unittest`s which need to be tested in a `-betterC` environment.
Such `unittest`s will be compiled and executed without linking druntime in, with
a `__traits(getUnitTests, mixin(__MODULE__))` style test runner.
Note that just like any other `unittest` in phobos, they will also be compiled
and executed without `-betterC`.
*/
package(std) enum betterC = 1;