d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / betterc.d
blob7df9bc22a4b059c71ce1ec31ef79f1cf90742c2a
1 /* REQUIRED_ARGS: -betterC
2 */
4 // https://issues.dlang.org/show_bug.cgi?id=17787
5 version (D_BetterC)
8 else
10 static assert(0);
13 // -betterC does not support `ModuleInfo`, `TypeInfo`, or exception handling
14 version (D_ModuleInfo)
16 static assert(0);
19 version (D_Exceptions)
21 static assert(0);
24 version (D_TypeInfo)
26 static assert(0);