dmd/compiler/test/compilable
2023-04-19 13:26:11 +03:00
..
extra-files Fix Issue 20090 - Header generation wrongfully outputs constructor bodies (#15115) 2023-04-19 13:26:11 +03:00
imports Merge remote-tracking branch 'upstream/stable' into merge_stable 2023-02-13 01:29:39 +00:00
protection
99bottles.d
a3682.d
aggr_alignment.d
aliasassign.d
aliasdecl.d
alignas.c
alignment.d
arraytopointer.c
art4769.d
b33.d
b1215.d
b6227.d
b6395.d
b9490.d
b11118.d
b12001.d
b12504.d
b15206.d
b15428.d
b16244.d
b16346.d
b16355.d
b16382.d
b16483.d
b16598.d
b16697.d
b16976.d
b17111.d
b17651.d
b18197.d
b18242.d
b18489.d
b19002.d
b19294.d
b19432.d
b19442.d
b19775.d
b19829.d
b20045.d
b20067.d
b20758.d
b20780.d
b20833.d
b20885.d
b20938.d
b21285.d
b23620.d
backendfloatoptim.d
betterc.d
betterCarray.d
betterCswitch.d
bug6963.d
bug11735.d
bug20796.d
bug21196.d
callconv.d
casmmangling.d
casttuple.d
ccompile.d
cdcmp.d
checkimports3.d
chkformat.d
cimport.c
cimports2.i
cmain.d
commontype.d
compile1.d
const.d
covariant_override.d
cpp_abi_tag_unused.d
cppflags.c
cppmangle.d
cppmangle2.d
cppmangle3.d
cppmangle_abitag.d
ctests1.c
ctests2.c Fix 23767 - ImportC: ternary with null constant has wrong pointer type (#14980) 2023-03-13 11:23:39 +02:00
ctfe_math.d
ctfesimd.d
dbitfield.d
ddoc1.d
ddoc2.d
ddoc3.d
ddoc4.d
ddoc5.d
ddoc6.d
ddoc7.d
ddoc8.d
ddoc9.d
ddoc10.d
ddoc11.d
ddoc12.d
ddoc13.d
ddoc14.d
ddoc198.d
ddoc648.d
ddoc2273.d
ddoc4162.d
ddoc4899.d
ddoc5446.d
ddoc5446a.d
ddoc5446b.d
ddoc6491.d
ddoc7555.d
ddoc7656.d
ddoc7715.d
ddoc7795.d
ddoc8271.d
ddoc8739.d
ddoc9037.d
ddoc9155.d
ddoc9305.d
ddoc9369.d
ddoc9475.d
ddoc9497a.d
ddoc9497b.d
ddoc9497c.d
ddoc9497d.d
ddoc9676a.d
ddoc9676b.d
ddoc9727.d
ddoc9764.sh
ddoc9789.d
ddoc9903.d
ddoc10236.d
ddoc10236b.d
ddoc10325.d
ddoc10334.d
ddoc10366.d
ddoc10367.d
ddoc10869.d
ddoc10870.d
ddoc11479.d
ddoc11511.d
ddoc11823.d
ddoc12706.d
ddoc12745.d
ddoc13270.d
ddoc13502.d
ddoc13645.d
ddoc14383.d
ddoc14413.d
ddoc14633.d
ddoc14778.d
ddoc15475.d
ddoc17697.d
ddoc18361.d
ddoc19814.d
ddoc_markdown_breaks.d
ddoc_markdown_code.d
ddoc_markdown_emphasis.d
ddoc_markdown_escapes.d
ddoc_markdown_headings.d
ddoc_markdown_links.d
ddoc_markdown_lists.d
ddoc_markdown_quote.d
ddoc_markdown_tables.d
ddoc_markdown_tables_22285.d
ddocbackticks.d
ddocunittest.d
ddocYear.d
debugInference.d
debuginfo.d
defa.d
depmsg.d
deprecate14283.d
deprecated_override.d
depsOutput21238_foo.d
derivedarray.d
diag3243.d
diag11066.d
diag12598.d
diag20916.d
dip22.d
dip22d.d
disable_new.d
dlangui_crash.d
dmdcliflags.sh
dtoh_21217.d
dtoh_AliasDeclaration.d
dtoh_AliasDeclaration_98.d
dtoh_AnonDeclaration.d
dtoh_ClassDeclaration.d
dtoh_cpp98_compat.d
dtoh_CPPNamespaceDeclaration.d
dtoh_enum.d
dtoh_enum_cpp98.d
dtoh_expressions.d
dtoh_extern_type.d
dtoh_forwarding.d
dtoh_functions.d
dtoh_ignored.d
dtoh_invalid_identifiers.d
dtoh_mangling.d
dtoh_names.d
dtoh_protection.d
dtoh_required_symbols.d
dtoh_special_enum.d
dtoh_StructDeclaration.d
dtoh_TemplateDeclaration.d
dtoh_UnionDeclaration.d
dtoh_unittest_block.d
dtoh_VarDeclaration.d
dtoh_verbose.d
dtorfields.d
dtorfields_deprecation.d
empty_file.d
emptygenmain.d
enumbase.c
enumbasearithmetic.d
exception.d
fail137.d
fail260.d
fieldwise.d
filefullpath_18911.d
fix13165.d
fix17123.d
fix17145.d
fix17335.d
fix17635.d
fix17686.d
fix20416.d
fix21585.d
fix21647.d
fix21684.d
fix22180.d
fix22291.d
forward1.d
future.d
futurexf.d
fwdref21063.d
header18364.d
header18365.d
iasm_labeloperand.d
ice854.d
ice1524.d
ice6538.d
ice8392.d
ice9663.d
ice10040.d
ice10431a.d
ice10431b.d
ice10486.d
ice10770.d
ice11054.d
ice11300.d
ice11596.d
ice11610.d
ice11777.d
ice11906.d
ice12002.d
ice12554.d
ice12956.d
ice13071.d
ice13088.d
ice13245.d
ice13323.d
ice13403.d
ice13792.d
ice13819.d
ice13874.d
ice13886.d
ice13920.d Deprecate traits(isVirtualFunction) and traits(getVirtualFunctions) (#14802) 2023-01-20 10:11:37 +02:00
ice13968.d
ice14075.d
ice14739.d
ice15333.d
ice15760.d
ice15789.d
ice15992.d
ice20044.d
ice20092.d
ice20415.d
iconv_class_array.d
implicitconv.d
importtests.d
include_unittest.d
infer_stc.d Fix 11316: Infer storage class of parameters with function literals 2023-02-28 12:49:16 +08:00
inliner.d
inliner2.d
interpret3.d
interpret4.d
interpret5.d
isexpalias.d
isreturnonstack.d
issue9884.d
issue12520.d
issue15478.d
issue15574.sh
issue15795.d
issue15818.d
issue16020.d
issue16044.d
issue16472.d
issue17167.sh
issue18097.d
issue19243.sh
issue19724.sh
issue19925.d
issue20362.d
issue20599.d
issue20618.d
issue20704.d
issue20705.d
issue20915.d
issue20995.d
issue21203.d
issue21328.d
issue21340.d
issue21378.d
issue21390.d
issue21614.d
issue21662.d
issue21726.d
issue21813a.d
issue21813b.d
issue21880.d
issue21882.d
issue21905.d
issue22130.d
issue22646.d
issue22854.d
issue22975.d
issue23391.d
issue23567.d
issue23597.d
isZeroInit.d
json.d
json2.d
json20742.d
json_nosource.sh
jsonCompilerInfo.d
jsonNoOutFile.d
jsonStdout.d
line.d
makedeps_exe.d
makedeps_file.d
makedeps_lib.d
makedeps_obj.d
minimal.d
minimal2.d
minimal3.d
mixin.d
mixintempl.d
mixinTemplateMangling.d
mixintype.d
mixintype2.d
must_use_assign.d
must_use_initialize.d
must_use_not_reserved.d
must_use_opassign.d
must_use_opopassign.d
must_use_opunary.d
must_use_suppress.d
named_argumens_struct.d Add named arguments to struct literals (#14776) 2023-01-17 13:08:30 +01:00
named_arguments.d Allow default arguments in the middle (#14879) 2023-02-15 12:31:59 +02:00
needsmod.d
needsmods.d
needspkg.d
needspkgmod.d
nested_template_constraints.d
nestedtempl0.d
nestedtempl1.d
noderef.d
nogc.d
noreturn.c
noreturn1.d
noreturn3.d
noreturn_main.d
ob1.d
ob2.d
objc_class.d
objc_gfunc.d
objc_interface_final_19654.d
paranoia_ctfe.d
pr9374.d
pr9383.d
pr9471.d
pragmainline2.d
pragmapack.c
previewall.d
previewhelp.d Deprecate -preview=dip25 switch (#14891) 2023-02-22 11:24:39 +02:00
previewin.d
protattr.d
protection.d
pull6815.d
quadratic.d
rdeps7016.d
README.md
readmodify_structclass.d
reinterpretctfe.d
revert_dip1000.d
reverthelp.d Deprecate -preview=dip25 switch (#14891) 2023-02-22 11:24:39 +02:00
riia_ctor.d
rvalueref.d
scope.d Fix Issue 23669 - [DIP1000] Compound assignment to length of slice me… (#14865) 2023-02-17 17:27:54 +01:00
scope_infer_array_assign.d
scope_tuple_expansion.d
scopeinfer.d
segfaultgolf.d
shared.d Fix Issue 20908 - -preview=nosharedaccess requires zero-initializion for aggregates (#15023) 2023-03-22 17:37:15 +02:00
shared_destructor.d
sharedopt.d
shortened_methods.d
sroa.d
staticforeach.d
statictemplatethis.d
stc_traits.d
stdcheaders.c ImportC: smoke test all C Standard .h files (#14810) 2023-02-20 21:52:02 -08:00
sw_transition_complex.d
sw_transition_field.d
sw_transition_tls.d
test1.d
test25.d
test50.d
test55.d
test59.d
test61.d
test62.d
test63.d
test66.d
test67.d
test68.d
test69.d
test70.d
test71.d
test72.d
test313a.d
test313b.d
test313c.d
test313d.d
test313e.d
test313f.d
test313g.d
test314.d
test318.d
test324.d
test602.d
test930.d
test1170.d
test1238.d
test1353.d
test1537.d
test1547.d
test1673.d
test1754.d
test1878a.d
test2991.d
test3004.d
test3673.d
test3775.d
test4003.d
test4090.d
test4364.d
test4375.d
test5227.d
test6013.d
test6056a.d
test6056b.d
test6056c.d
test6089.d
test6319.d
test6395.d
test6461.sh
test6534.d
test6541.d
test6552.d
test6999.d
test7065.d
test7172.d
test7190.d
test7252.d
test7399.d
test7491.d
test7524.d
test7569.d
test7754.d
test7815.d
test7886.d
test8038.d
test8041.d
test8296.d
test8509.d
test8513.d
test8543.d
test8631.d
test8675.d
test8696.d
test8717.d
test8802.d
test8898.d
test8922a.d
test8922b.d
test8922c.d
test8922d.d
test8922e.d
test8922f.d
test8937.d
test8959.d
test9029.d
test9057.d
test9209.d
test9274.d
test9276.d
test9278a.d
test9278b.d
test9399.d
test9434.d
test9435.d
test9436.d
test9526.d
test9554.d
test9565.d
test9570.d
test9613.d
test9639.d
test9672.d
test9680.sh
test9692.d
test9692a.d
test9701.d
test9766.d
test9818.d
test9919.d
test10028.d
test10056.d
test10066.d
test10073.d
test10186.d
test10312.d
test10375.d
test10520.d
test10695.d
test10726.d
test10752.d
test10981.d
test10992.d
test10992b.d
test10993.d
test11137.d
test11169.d
test11225a.d
test11259.d
test11371.d
test11559upgradeoptlink.d
test11563.d
test11656.d
test11720.d
test11824.d
test11847.d
test11914.d
test11980.d
test12009.d
test12496.d
test12511.d
test12523.d
test12527.d
test12567a.d
test12567b.d
test12567c.d
test12567d.d
test12567e.d
test12593.d
test12624.d
test12807.d
test12967.d
test12979a.d
test12979b.d
test13008.d
test13053.d
test13123.d
test13193.d
test13194.d
test13226.d
test13242.d
test13281.d
test13512.d
test13582a.d
test13582b.d
test13600.d
test13668.d
test13858.d
test13902.d
test13953.d
test14114.d
test14198.d
test14275.d
test14317.d
test14375.d
test14528.d
test14666.d
test14740.d
test14747.d
test14781.d
test14831.d
test14838.d
test14894.sh
test14929.d
test14954.d
test14962.d
test14973.d
test15019.d
test15056.d
test15150.d
test15225.d
test15292.d
test15326.d
test15371.d
test15389_x.d
test15389_y.d
test15402.d
test15464.d
test15490.d
test15519_x.d
test15519_y.d
test15550.d
test15565.d
test15578.d
test15618.d
test15668.d
test15711.d
test15712.d
test15762.d
test15780.d
test15784.d
test15785.d
test15802.d
test15856.d
test15898.d
test15907.d
test16002.d
test16013a.d
test16013b.d
test16031.d
test16037.d
test16080.d
test16083.d
test16085.d
test16088.d
test16107.d
test16183.d
Test16206.d
test16213.d Fix Issue 16213 - CTFE internal error with static array $ as template argument (#14964) 2023-03-10 08:12:50 +02:00
test16214a.d
test16225.d
test16273.d
test16292.d
test16303.d
test16340.d
test16348.d
test16460.d
test16492.d
test16495.d fix Issue 16495 - __traits(fullyQualifedName) instead of std.traits.fullyQualifiedName (#14711) 2023-01-21 21:35:01 -08:00
test16525.d
test16540.d
test16563.d
test16570.d
test16572.d
test16574.d
test16578a.d
test16578b.d
test16607.d
test16621.d
test16627.d
test16635.d
test16657.d
test16685.d
test16701.d
test16709.d
test16747.d
test16798.d
test17057.d
test17059.d
test17130.d
test17143.d
test17146.d
test17168.d
test17215.d
test17339.d
test17349.d
test17351.d Fix 23763: Correctly handle struct constants with 0 initializer 2023-03-08 13:48:49 +01:00
test17352.d
test17373.d
test17399.d
test17419.d
test17421.d
test17434.d
test17434a.d
test17441.d
test17468.d
test17512.d
test17541.d
test17545.d
test17548.d
test17590.d
test17752.d
test17782.d
test17791.d
test17793.d
test17807.d
test17819.d
test17853.d
test17870.d
test17908.d
test17942.d
test17970.d
test17991.d
test18000.d
test18020.d
test18026.d
test18030.d
test18099.d
test18115.d
test18199.d
test18216.d
test18251.d
test18367.sh
test18385.d
test18385b.d
test18430.d
test18468.d
test18474.d
test18572.d
test18578.d
test18584.d
test18645.d
test18646.d
test18651a.d
test18670.d
test18694.d
test18737.d
test18771.d
test18775.d
test18821.d
test18871.d
test18905.d
test18936.d
test18951a.d
test18951b.d
test18955.d
test18976.d
test19014.d
test19066.d
test19081.d
test19097.d
test19108.d
test19145.d
test19187.d
test19203.d
test19224.d
test19227.d
test19266.sh
test19268.d fix Issue 19268 - BetterC turns off .dup for CTFE 2023-01-16 00:07:38 +01:00
test19292.d
test19295.d Fix Issue 21288 & 10886 - incorrect this pointer (#14969) 2023-03-13 11:17:41 +02:00
test19315.d
test19320.d
test19376.sh
test19409.d
test19463.sh
test19464.d
test19482.d
test19491.d
test19499.d
test19519.d
test19540.d
test19557.d
test19574.d
test19585.d
test19609.d
test19631.d
test19652.d
test19656.d
test19657a.d
test19713.d
test19728.d
test19731.d
test19746.d
test19750.d
test19754.d
test19778.d
test19804.d
test19809.d
test19833.d
test19840.d
test19873.d
test19895.d
test19912.d
test19936.d
test19941.d
test19954.d
test19970.d
test20000.d
test20021.d
test20039.d
test20051.d
test20063.d
test20065.d
test20100.d
test20136.d
test20138.d
test20151a.d
test20181.d
test20201.d
test20236.d
test20280.d
test20296.d
test20318.d
test20326.d
test20367.d
test20388.d
test20406.d
test20410.d
test20417.d
test20420.d
test20427.d
test20488.d
test20530.d
test20537.d
test20596.d
test20653.d
test20656.d
test20661.d
test20692.d
test20695.d
test20710.d
test20717.d
test20744.d
test20789.d
test20795.d
test20821.d
test20832.d
test20835.d
test20842.d
test20860.d
test20868.d
test20894.d
test20906.d
test20909.d
test20923.d
test20958.d
test20990.d
test21050.d
test21058.d
test21177.d
test21196.d
test21197.d
test21227.d
test21243.d
test21255.d
test21282.d
test21299a.d
test21299b.d
test21299c.d
test21299d.d
test21330.d
test21372.d
test21398.d
test21414.d
test21432.d
test21438.d
test21464.d
test21501a.d
test21514.d
test21591.d
test21659.d
test21661.d
test21668.d
test21672.d
test21680.d
test21719.d
test21742.d
test21743.d
test21753.d
test21794.d
test21802.d
test21806.d
test21812.d
test21828.d
test21830.d
test21831.d
test21832.d
test21850.d
test21861.d
test21876.d
test21898.d
test21956.d
test21975.d
test22006.d
test22122.d
test22133.d
test22214.d
test22224.d
test22226.d
test22228.d
test22254.d
test22292.d
test22294.i
test22346.c
test22388.d
test22390.d
test22410.d
test22420.d
test22421.d
test22510.d
test22558.d
test22577.c
test22593.d
test22607.c
test22619.d
test22625.d
test22626.d
test22632.d
test22635.d
test22638.d
test22639.d
test22646.d
test22665.d
test22674.d Fix missing directives in testsuite 2023-03-16 22:14:56 +01:00
test22676.d
test22685.d
test22698.c
test22699.c
test22705.c
test22714.d
test22724.i
test22725.c
test22727.c
test22728.c
test22734.d
test22739.d Fix Issue 22739 - Segmentation fault in CppMangleVisitor.headOfType (#15098) 2023-04-13 18:11:04 +03:00
test22755.c
test22757.c
test22758.c
test22761.c
test22784.d
test22793.c
test22807.c
test22808.c
test22809.c
test22813.d
test22825.d
test22842.c
test22859.d
test22860.d
test22865.d
test22875.i
test22877.c
test22878.c
test22884.c
test22885.c
test22886.c
test22887.c
test22892.c
test22894.c
test22895.c
test22904.c
test22916.d Fix 22916 - copy of ref return still treated as scope variable (#14871) 2023-02-20 12:55:36 +02:00
test22919.d
test22924.c
test22927.c
test22928.c
test22929.c
test22931.c
test22933.c
test22952.d
test22955.c
test22970.c
test22971.c
test22973.i
test22988.d
test22997.d
test23002.c
test23004.c
test23008.c
test23029.c
test23030.c
test23031.c
test23034.c
test23038.c
test23039.c
test23044.c
test23047.d
test23054.c
test23066.c
test23068.d
test23076.d
test23082.d
test23087.d
test23089.d
test23097.d
test23105.d
test23142.d
test23145.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
test23166.d
test23168.d
test23169.d
test23172.d
test23173.d
test23174.d
test23207.i
test23214.c
test23217.c
test23235.d
test23256.d
test23258.d
test23262.d
test23306.d
test23327.d
test23342.i
test23380.d
test23386.d
test23407.i
test23431.d
test23431_minimal.d Translate _d_newclass to a template (#14837) 2023-01-27 10:02:10 +02:00
test23433.d Translate _d_newclass to a template (#14837) 2023-01-27 10:02:10 +02:00
test23439.d
test23481.d
test23490.d
test23497.d
test23499.d
test23529.d
test23532.d
test23533.d
test23534.d
test23548.d
test23583.c
test23586.d
test23587.d
test23589.d
test23598.d fix Issue 23598 - Circular reference bug with static if and eponymous templates (#14838) 2023-01-26 11:28:50 +02:00
test23606.d
test23616.c
test23617.d
test23622.c
test23626.d fix Issue 23626 - [REG2.096] Template deduction with auto const ref Args... and delegate 2023-01-15 17:57:42 +01:00
test23639.d Fix Issue 23639 - Casting to shared not allowed with -preview=nosharedaccess (#14836) 2023-01-20 14:59:08 +02:00
test23651.d fix Issue 23651 - Order dependency in semantic analysis of template members 2023-01-23 22:32:58 -08:00
test23662.d Fix Issue 23662: ImportC bad handling of enum arguments for a function (#14859) 2023-02-09 12:50:15 +02:00
test23676.d Fix 23676 - Static foreach hangs compilation for some time (#14886) 2023-02-22 11:26:09 +02:00
test23679.d Fix 23679 - off-by-one error for static array size limit (#14867) 2023-02-08 09:50:17 +02:00
test23705.d Fix Issue 23705 - dmd: src/dmd/backend/cgcod.d:734: Assertion sz >= 0 failed (#14876) 2023-02-14 14:42:38 +02:00
test23799.d Fix Issue 23799 - Link error with -betterC (#15028) 2023-03-23 14:04:23 +02:00
test23923.c
testAliasLookup.d
testcdefines.i
testcheckimports.d
testclidflags.sh
testcolor.sh
testcontracts.d
testcorrectthis.d Fix Issue 21288 & 10886 - incorrect this pointer (#14969) 2023-03-13 11:17:41 +02:00
testcov1.d
testCpCtor.d
testcstuff1.c fix Issue 23711 - compilable/testcstuff1.c:63:1: error: invalid use of restrict 2023-02-22 01:06:03 +01:00
testcstuff2.c
testcstuff3.d
testcstuff3.i
testdefines.d
testDIP37.d
testDIP37_10302.d
testDIP37_10354.d
testDIP37_10421.d
testDIP37a.d
testDIP42.d
testdip1008.d
testexpression.d
testfptr.d
testfwdref.d
testgotoskips.d
testheader1.d
testheader1i.d
testheader2.d
testheader2i.d
testheader3.d
testheader12567a.d
testheader12567b.d
testheader17125.d
testheaderudamodule.d
testhelp.d
testimport12242.d
testInference.d
testlambdacomp.d
testlibmain.d
testos.d
testparse.d
testpostblit.d
testprofile.d
testsctreturn.d
testtempl2.d
testVRP.d
traits.d
traits_getFunctionAttributes.d
transition_in.d
transitionhelp.d
typeid_name.d
uda.d
udamodule1.d
udamodule2.d
union_initialization.d
valist.c
vararg.d
vastartend.c
vcg-ast-arraylength.d
vcg-ast.d
verrors_spec.d
version.d
version_d_optimized.d
vgc1.d
vgc2.d
vgc3.d
vtemplates.d
vtemplates_list.d
warn3882.d
zerosize.d

Tests for successful compilation

Each D file will be compiled and the compilation is expected to succeed. Any diagnostic emitted must match the predefined diagnostic in the test file, otherwise the test will fail.

Purpose

The point of these files is to test that the compiler successfully emits code without unexpected diagnostics or potential crashes.

A further aim is that when the compiler does fail these tests, the test case should be crafted to make debugging the compiler as straightforward as practical.

Remarks

Test in this directory are not linked by default because linking is expensive and usually not necessary to reproduce an error. A test may specify the LINK test parameter to enforce the linking.

Refer to test/README.md for general information and the test guidelines.