xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/attributes.d (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1 module std.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 phobos, they will also be compiled
9 and executed without `-betterC`.
10 */
11 package(std) enum betterC = 1;
12