dmd/compiler/test/compilable
2022-08-16 13:07:09 +03:00
..
extra-files Fix issue 19178 - Static initialization of 2d static arrays in structs 2022-07-25 13:27:22 +00:00
imports Fix 16701 - Remove Restriction of "package.d" Source File Module Forced to All Lowercase (#14260) 2022-07-25 15:01:50 +03:00
protection
99bottles.d
a3682.d
aggr_alignment.d
aliasassign.d Optimize AliasAssign tuple building 2022-07-28 03:38:45 +00:00
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
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
cmain.d
commontype.d
compile1.d
const.d
covariant_override.d
cpp_abi_tag_unused.d
cppflags.c
cppmangle.d
cppmangle2.d
cppmangle3.d Deprecate version/debug integers (#14330) 2022-07-26 09:37:30 +03:00
cppmangle_abitag.d
ctests1.c
ctests2.c
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
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
include_unittest.d
inliner.d
inliner2.d
interpret3.d
interpret4.d
interpret5.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
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
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 Fix 23236 - can't initialize a @mustuse member in constructor (#14303) 2022-07-14 18:32:43 +03:00
must_use_not_reserved.d
must_use_opassign.d
must_use_opopassign.d
must_use_opunary.d
must_use_suppress.d
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
previewin.d
protattr.d
protection.d
pull6815.d
quadratic.d
rdeps7016.d
README.md
readmodify_structclass.d
reinterpretctfe.d
revert_dip1000.d
reverthelp.d
riia_ctor.d
rvalueref.d
scope.d
scope_infer_array_assign.d Add test for scope inference with _d_arrayassign_l (#14370) 2022-08-16 13:07:09 +03:00
scopeinfer.d
shared.d
shared_destructor.d
sharedopt.d
shortened_methods.d
sroa.d
staticforeach.d
stc_traits.d
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
test5973.d
test6013.d
test6056a.d
test6056b.d
test6056c.d
test6089.d
test6319.d
test6395.d
test6461.sh
test6534.d
test6541.d
test6552.d
test6777.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
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
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
test16214a.d
test16225.d
test16273.d
test16292.d
test16303.d
test16340.d
test16348.d
test16460.d
test16492.d
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 Fix 16701 - Remove Restriction of "package.d" Source File Module Forced to All Lowercase (#14260) 2022-07-25 15:01:50 +03:00
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
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
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
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
test19292.d
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
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
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 Fix 20823 - un-@safe code fails with dip1000 (#14331) 2022-07-26 10:57:20 +03:00
test20835.d
test20842.d
test20860.d
test20868.d
test20894.d
test20906.d
test20909.d
test20923.d
test20958.d
test20990.d
test21050.d
test21058.d
test21073.d
test21177.d fix Issue 23251 - Deprecation: format specifier "%[a-z]" is invalid 2022-07-20 04:48:39 +02:00
test21196.d
test21197.d fix Issue 21197 - Wrong lifetime inference with DIP1000 in dmd 2.093.0 (#14360) 2022-08-12 14:05:41 +03:00
test21227.d
test21255.d
test21282.d
test21299a.d
test21299b.d
test21299c.d
test21299d.d
test21330.d
test21372.d
test21398.d
test21414.d
test21432.d fix Issue 21432 - [CTFE] Cannot declare enum array in function scope 2022-07-12 14:17:19 +00:00
test21438.d
test21464.d
test21501a.d
test21514.d
test21543.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
test21975.d
test22006.d
test22122.d
test22133.d
test22214.d
test22224.d
test22226.d
test22228.d
test22254.d
test22292.d
test22294.i
test22388.d
test22390.d Fix Issue 22390 - Compiler crash when iterating empty array of bottom types (#14294) 2022-07-15 02:31:56 -07:00
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
test22639.d
test22646.d
test22665.d
test22676.d
test22685.d
test22698.c
test22699.c
test22705.c
test22714.d
test22724.i
test22725.c
test22727.c
test22728.c
test22734.d
test22755.c
test22757.c
test22758.c
test22761.c
test22793.c
test22807.c
test22808.c
test22809.c
test22825.d
test22842.c
test22859.d
test22860.d
test22865.d
test22877.c
test22878.c
test22884.c
test22885.c
test22886.c
test22887.c
test22892.c
test22894.c
test22895.c
test22904.c
test22919.d
test22924.c
test22927.c
test22928.c
test22929.c
test22931.c
test22933.c
test22955.c
test22970.c
test22971.c
test22988.d
test22997.d
test23002.c
test23004.c
test23008.c
test23029.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
test23166.d
test23168.d
test23169.d
test23172.d
test23174.d
test23207.i
test23214.c
test23217.c
test23235.d fix Issue 23235 - [DIP1000] typesafe variadic parameters should automatically be scope 2022-07-24 13:00:32 +00:00
test23256.d fix Issue 23256 - must supply -mscrtlib manually when compiling for Windows (#14312) 2022-07-20 12:14:10 +03:00
test23262.d fix Issue 23262 - typesafe variadic function parameter cannot infer return (#14320) 2022-07-23 09:39:37 -07:00
testAliasLookup.d
testcdefines.i
testcheckimports.d
testclidflags.sh
testcolor.sh
testcontracts.d
testcov1.d
testCpCtor.d
testcstuff1.c
testcstuff2.c fix Issue 23143 - ImportC: forward enum declarations need to be supported 2022-07-12 00:06:15 +00:00
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 Fix Issue 23271 - Mark lowered DeclExps in array appends as exptemp (#14328) 2022-07-26 09:38:10 +03:00
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 Fix Issue 23241 - Consider types with no symbol (e.g. int) to have no… (#14298) 2022-07-27 10:58:28 +03:00
udamodule1.d
udamodule2.d
union_initialization.d
valist.c
vastartend.c
vcg-ast-arraylength.d
vcg-ast.d
verrors_spec.d
version.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.