xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/attributes.d (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1*b1e83836Smrg module std.internal.attributes;
2*b1e83836Smrg 
3*b1e83836Smrg /**
4*b1e83836Smrg Used to annotate `unittest`s which need to be tested in a `-betterC` environment.
5*b1e83836Smrg 
6*b1e83836Smrg Such `unittest`s will be compiled and executed without linking druntime in, with
7*b1e83836Smrg a `__traits(getUnitTests, mixin(__MODULE__))` style test runner.
8*b1e83836Smrg Note that just like any other `unittest` in phobos, they will also be compiled
9*b1e83836Smrg and executed without `-betterC`.
10*b1e83836Smrg */
11*b1e83836Smrg package(std) enum betterC = 1;
12