xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/attributes.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
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;
12