dmd/compiler/test/runnable
2025-03-08 22:49:35 -08:00
..
extra-files Add test case for Bugzilla 24590 2024-06-11 14:37:48 +02:00
imports Make lambda symbols stable post a3abf1187e 2024-12-07 10:48:34 +01:00
.gitignore
A16.d
a17.d
a18.d
a19.d
a20.d
a21.d
aliasassign.d fix #20610 aliasing for fields does not work (#20611) 2024-12-27 21:38:25 -08:00
aliasthis.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
argufilem.d
arm.d add arm tests (#16563) 2024-06-05 15:31:02 -07:00
arrayop.d
auto1.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
b26.d
b6400.d
b10562.d
b16278.d
b16360.d
b17073.d
b18034.d
b19294.d
b19584.d
b20470.d
b20890.d
bcraii.d
bcraii2.d
bench1.d
betterc.d Fix Issue 22427 - betterC: casting an array causes linker error in string comparison (#15404) 2023-07-14 19:02:15 +03:00
bettercUnittest.d
bit.d
bitfields.c fix Issue 24262 - Assert error with bit fields (#15864) 2023-11-26 11:52:07 +01:00
bitfieldsms.c Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
bitfieldsposix32.c Fix bugzilla 24592 - ImportC: Bitfield layout wrong for int64 on 32-bit Linux 2024-06-17 02:31:02 +02:00
bitfieldsposix64.c Fix bugzilla 24592 - ImportC: Bitfield layout wrong for int64 on 32-bit Linux 2024-06-17 02:31:02 +02:00
bitops.d
bom_UTF8.d test: Reorganize the unicode tests so those with BOMs are identifiable by name 2024-02-03 11:14:15 +01:00
bom_UTF16.d test: Reorganize the unicode tests so those with BOMs are identifiable by name 2024-02-03 11:14:15 +01:00
bom_UTF16BE.d test: Reorganize the unicode tests so those with BOMs are identifiable by name 2024-02-03 11:14:15 +01:00
bom_UTF32.d test: Reorganize the unicode tests so those with BOMs are identifiable by name 2024-02-03 11:14:15 +01:00
bug5.d
bug846.d
bug7068.d
bug9010.d
bug11155.d
bug12928.d
bug16146.d
bug19652.d
builtin.d
c22.d
casting.d
cdcmp.d fix Issue 23418 - double argument is passed on stack, but assumed to be in XMM0 register (#14568) 2022-10-16 12:55:39 -07:00
cdvecfill.sh Fix objdump not outputting intel syntax (#16190) 2024-02-18 06:55:05 +08:00
class_destructors.d Fix Issue 12118 - Modify immutable data using throw (#14706) 2023-03-13 17:42:18 +02:00
class_opCmp.d
closure.d
complex.d move object generation files away from extern(C++) (#15477) 2023-07-31 11:11:29 +03:00
complex3.d fix Issue 23778 - Code generator fails to handle __c_complex_real properly for Windows 2023-03-16 19:35:09 +01:00
constfold.d
cov2.d fix Issue 23629 - importC: Need to support code coverage analysis (#15913) 2023-12-16 13:11:35 -08:00
cppdtor.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
cstuff3.i
cstuff4.c fix Issue 24264 - ImportC: inliner trips on _Bool return 2023-12-08 11:01:28 +01:00
ctfe_cov.d
ctorpowtests.d
dbitfields.d fix Issue 24257 - ImportC: ICE on accessing last _Bool bitfield (#15861) 2023-11-25 22:45:30 +01:00
dbitfieldsms.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
dbitfieldsposix32.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
dbitfieldsposix64.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
declaration.d Implement auto ref for local variables 2024-08-07 05:49:49 +02:00
delegate.d
dhry.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
e7804.d Deprecate traits(isVirtualFunction) and traits(getVirtualFunctions) (#14802) 2023-01-20 10:11:37 +02:00
eh.d
eh2.d Fix Issue 21415 - catch immutable exceptions breaks immutable (#14707) 2023-05-02 13:50:55 +02:00
entity1.d
evalorder.d
exe1.c getting first two tests in exe1.c to run (#20968) 2025-03-08 22:49:35 -08:00
extern1.d
fix17429.d
fix20466.d
fix22115.d
fix22372.d
fix22624.d
fix22918.c
fldconst.d
foreach.d
foreach2.d
foreach3.d
foreach4.d
foreach5.d
funclit.d Make delete an identifier instead of keyword (#20745) 2025-01-21 23:33:50 +01:00
functype.d Refer to bugzilla issues by hyperlink (#15328) 2023-06-16 14:48:47 +03:00
future.d feat(errors): enable verrors=context globally (#20576) 2025-01-03 05:17:59 +08:00
gdb1.d
gdb4149.d
gdb4181.d
gdb10311.d
gdb14225.d
gdb14276.d
gdb14313.d
gdb14330.d
gdb15729.sh
gdb18504.d Prefix test that requires GDB with gdb 2024-04-02 01:08:34 +02:00
gdb22590.c
gdb22905.d Minimally adapt new runnable/gdb22905.d to support gdb-demangled backtraces (#16069) 2024-01-21 09:21:42 -08:00
gdb_baseclass_fields.d
gdb_slice_debuginfo_32.d
gdb_slice_debuginfo_64.d
hello-profile.d
hello.d
helloc.c make sure hello world in C works 2024-02-24 06:49:24 +08:00
iasm.d
iasm64.d add ENDBR32 and ENDBR64 to inline assembler (#15401) 2023-07-11 11:22:36 +03:00
ice4481.d
ice10086a.d
ice10086b.d
ice10857.d
ice15030.d
ice15138.d
ice15176.d
ice15200.d
ice21696.d
ice21727.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
ifti.d Rebase stable6 (#16967) 2024-10-07 12:00:14 +03:00
implicit.d feat(errors): enable verrors=context globally (#20576) 2025-01-03 05:17:59 +08:00
importc-test1.sh
inclusive_incontracts.d
initializer.c fix Issue 24155 - ImportC: accept C23 default initializers (#15801) 2023-11-15 13:04:42 -08:00
inline.d
inline2.d
inline3.d
inline7625.d
inline14560.d
inner.d
integrate.d
interface.d
interface1.d
interface2.d Refer to bugzilla issues by hyperlink (#15328) 2023-06-16 14:48:47 +03:00
interface3.d
interpolatedexpressionsequence.d Enhanced version of dip1036 implementation (#15715) 2024-01-19 22:21:40 -08:00
interpret.d Remove version(D_Version2) blocks (#15435) 2023-07-20 17:24:30 +02:00
interpret2.d
issue11070.d Fix issue 11070 - Allow declaration statement in a switch expression (#15656) 2023-10-09 08:02:34 +08:00
issue16995.d
issue18919.d Fix Bugzilla 24519 - compiler segfault on default argument with slice operator [] 2024-04-24 22:38:54 +08:00
issue22854.d runnable/issue22854.d: Reduce code expansion to speed up testsuite 2023-01-04 00:22:07 +01:00
issue24168.d Fix Issue 24168 - Corrupted if TLS values are passed in ref parameters (#15705) 2023-10-19 23:04:44 -07:00
issue24401.d Fix Bugzilla 24401 - OSX: Linker error: GOT load reloc does not point to a movq instruction 2024-02-23 12:55:02 +08:00
lazy.d
ldc_github_1677.d
lexer.d Remove debug() / version() integers (#20713) 2025-01-16 15:20:06 +08:00
link846.sh
link2500.d
link2644.d
link6574.d
link7745.d
link7966.d
link8023.d
link9571.d
link10425.d Refer to bugzilla issues by hyperlink (#15328) 2023-06-16 14:48:47 +03:00
link10920.d
link11069a.d Actually give deprecation for -noboundscheck (#16687) 2024-07-13 16:08:02 +08:00
link11069b.d
link11127.d
link11395.d
link11931.d
link12010.d
link12037.d
link12144.d
link13043.d
link13350.d
link13394.d
link13400.d
link13415.d
link13843.d
link14074a.d
link14074b.d
link14198a.sh
link14425.d
link14541.d
link14588.d
link14814.d
link14834.sh
link14992.d
link15017.d
link15021.d Always run backend inliner when -inline seen on command-line (#16171) 2024-02-12 15:07:58 +02:00
link15149.d
link20802.sh Fix Bugzilla 20802 - Link failure with writefln (#16200) 2024-02-19 06:35:00 +08:00
linktypeinfo.d
literal.d Fix ambiguous type deduction around hex strings (#20679) 2025-01-10 23:35:51 +01:00
loopunroll.d
m1.d
manboy.d
mangle.d Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343) 2024-11-27 12:03:16 +01:00
mars1.d replacing string instructions with MOVs (#20582) 2024-12-24 10:39:26 +08:00
minimal.d
minimal2.d
mixin1.d Fix Bugzilla 21564 - Allow assignment syntax for instantiating mixin templates (#16387) 2024-08-28 15:02:55 +08:00
mixin2.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
mod1.d
nan.d
nested.d
newaa.d
newdel.d Make delete an identifier instead of keyword (#20745) 2025-01-21 23:33:50 +01:00
no_assertz_cov.d
nogc.d Add test case for taking the address of array literal elements (#16785) 2024-08-19 17:00:20 +03:00
noreturn1.d
noreturn2.d Update compiler/test/runnable/noreturn2.d 2024-08-20 10:44:50 +03:00
nrvo.d fix Issue 20567 returning the result of a constructor should be NRVO (#20568) 2024-12-18 00:48:52 -08:00
nulltype.d
objc_autoselector.d Objective-C classes do not have invariants, null check directly. 2024-12-14 19:26:08 +01:00
objc_call.d dmd: Deprecate 'in' parameters on non-extern(D,C++) functions (#14951) 2023-03-08 10:57:41 +02:00
objc_call_static.d
objc_class.d
objc_external_class_19700.d
objc_instance_variable.d
objc_objc_msgSend.d dmd: Deprecate 'in' parameters on non-extern(D,C++) functions (#14951) 2023-03-08 10:57:41 +02:00
objc_protocol.d
objc_protocol_sections.d dmd: Deprecate 'in' parameters on non-extern(D,C++) functions (#14951) 2023-03-08 10:57:41 +02:00
objc_self_test.d
objc_super_call.d
opdisp.d
opover.d Remove D1 operators from the D2 language (#20744) 2025-01-21 06:08:05 +08:00
opover2.d
opover3.d
overload.d
paranoia.d Revise remaining 32{omf,mscoff} usages 2024-05-25 16:35:11 +02:00
pi.d
placenew.d add Placement New 2025-03-03 16:23:02 +10:00
polysemous.d
previewin.d test: Remove 'ref' checks from -preview=in tests 2023-11-06 18:42:53 +01:00
printargs.d
profilegc_stdout.d Use __FILE__, __LINE__ for templated tracegc hooks (#20882) 2025-02-17 11:53:16 +01:00
property.d
property2.d
pubprivtmpl.d
README.md
rvalue1.d build default move constructors (#20634) 2025-01-10 11:19:29 -08:00
s2ir.d
Same.d
sctor.d
sctor2.d revert deprecation of scope class (#15380) 2023-07-12 10:37:42 -07:00
sdtor.d Re-enable tests of temporary in condition and throwing callee (#20721) 2025-01-16 23:35:13 +01:00
sieve.d
sroa13220.d Actually give deprecation for -noboundscheck (#16687) 2024-07-13 16:08:02 +08:00
standalone_modctor.d Add @standalone attribute for module constructors (#15537) 2023-12-22 11:03:03 -08:00
staticaa.d Fix Bugzilla 24602 - Internal compiler error: failed to detect static initialization of associative array 2024-06-18 01:24:34 +02:00
staticforeach.d
statictor.d
stress.d
structinit.c Consolidate C struct initializer tests 2024-04-11 18:42:03 +08:00
structlit.d
template1.d
template2.d
template3.d Fix #20907 - DMD segfaults with static array length parameter derived from left-shifted template parameter property (#20919) 2025-02-28 21:46:10 +01:00
template4.d
template6.d
template8.d
template9.d fix issue 23733 - Can't use template type parameter as type of alias parameter (#15691) 2023-10-16 06:23:19 +08:00
template10.d feat(errors): enable verrors=context globally (#20576) 2025-01-03 05:17:59 +08:00
template2962.d
template13478.d
test2.d
test3.d
test4.d
test5.d
test7.d
test8.d feat(errors): enable verrors=context globally (#20576) 2025-01-03 05:17:59 +08:00
test10.d
test11.d
test12.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test13.d
test15.d Fix bugzilla 24477 - Union access of bool shouldn't be allowed in @safe 2024-04-03 10:52:30 +08:00
test16.d
test17.d
test19.d
test20.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
test21.d
test22.d
test23.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
test24.d
test27.d
test28.d
test29.d
test30.d
test31.d
test32.d
test34.d Revert "deprecate Object.factory" 2023-02-14 20:42:25 +01:00
test35.sh
test36.d Fix bugzilla issue 24882 - COM class is allocated using GC not malloc 2024-11-29 08:37:07 +01:00
test37.d
test38.d
test39.sh
test40.d
test41.d
test42.d test: Add float stringof comparison tests for GDC 2024-01-28 02:44:39 +01:00
test42a.d
test44b.d
test45.d
test46.d
test48.d
test49.d
test52.d
test57.d
test58.d
test61.d
test435.d
test711.d
test809.d
test3449.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
test3574a.d
test3574b.d
test3574c.d
test3574d.d
test5943.d
test6423.d
test6795.d
test7452.d
test7453.d
test7494.d
test7511.d
test7595.d
test7603.d
test7618.d
test7932.d
test8182.d
test8544.d
test8997.d
test9259.d
test9271.d
test9287.sh
test9309.d
test9495.d
test10378.d
test10386.sh
test10441.d
test10445.d
test10567.sh
test10573.d
test10619.d
test10736.d
test10942.d
test11039.d
test11239.d
test11447a.d
test11447b.d
test11447c.d
test11745.d
test11863.d
test11934.d
test12197.d
test12486.d
test12874.d
test13117.d
test13117b.d
test13504.d
test13613.d Rebase stable6 (#16967) 2024-10-07 12:00:14 +03:00
test13666.sh
test13742.sh
test13774.sh
test13944.d
test14613.d
test14874.d
test14901.d
test14903.d
test15079.d
test15373.d
test15568.d
test15779.d
test15862.d
test15913.d
test15985.d fix Issue 15985 - [REG2.068/2.069] Code doesn't link unless compiled with -debug (#14855) 2023-02-07 16:26:22 -08:00
test16047.d
test16096.sh
test16098.d fix Issue 16098 - align(N) not respected for stack variables if N > platform stack alignment (#14764) 2023-02-24 19:51:20 -08:00
test16115.d
test16140.d
test16555.d
test16579.d
test16640.d
test16980.d
test17072.d
test17181.d
test17181b.d
test17246.d
test17258.d
test17337.d
test17338.d Get rid of some obsolete optlink workarounds 2024-05-25 18:07:16 +02:00
test17559.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test17619.sh
test17684.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test17868.d
test17868b.d
test17878.d
test17885.d
test17899.d
test17940.d
test17943.d
test17965.d
test17968.d
test18054.d
test18076.sh
test18141.sh
test18296.d
test18322.d
test18335.sh
test18412.sh
test18456.sh
test18472.d fix Issue 18472: betterC cannot use format at compile time 2023-02-28 10:28:27 +01:00
test18534.d
test18545.d
test18746.d
test18868.d
test18868_2.d
test18868_3.d
test18880.d
test18902.sh
test18916.d Fix issue 18919 - __FILE__ and __LINE__ should work when used in default argument expressions (#15968) 2024-01-07 23:57:48 +01:00
test18973.d
test19086.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test19122.d
test19163.d
test19185.d
test19192.d
test19223.d
test19251.d
test19317.d
test19386.d
test19393.d
test19441.d
test19476.d
test19639.d
test19655a.d
test19672.d
test19679.d
test19729.d
test19734.d
test19735.d
test19774.d
test19782.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test19822.d
test19825.d
test19891.d
test19946.d add support for 64 bit memset (#14788) 2023-01-05 09:39:08 -08:00
test20025.d
test20036.d
test20130.d
test20365.d
test20401.d
test20520.d fix Issue 20520 - Runtime segfault when taking typeid of a class instanciated within an enum 2023-01-14 14:07:27 +01:00
test20565.d
test20603.d
test20649.d
test20687.d Fix Issue 20687 - Allow member function address as const initializer of static data 2023-05-10 05:45:25 +02:00
test20734.d Fix issue 22306 - scope array variable should be stack allocated (#14562) 2022-10-18 12:32:27 -07:00
test20809.d
test20811.d fix Issue 20811 - Regression as of 2.066.0 - CTFE static variable retained across calls 2022-12-21 11:47:57 +01:00
test20831.c Fix #20831 - Mangle conflict after ImportC statement expression gets expanded from macro (#20854) 2025-02-12 20:44:16 +08:00
test20855.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
test20893.d
test21039.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test21040.d
test21120.d
test21234.sh
test21301.d fix Issue 21301 - Wrong values being passed in long parameter list (#14629) 2022-11-10 11:25:05 +02:00
test21357.d
test21367.d
test21403.d
test21416.d
test21424.d
test21479.d
test21506.d fix Issue 21506 - misalignment of _argptr for variadic functions (#14654) 2022-11-26 13:45:32 -08:00
test21515.d
test21586.d
test21723.sh
test21772.d fix Issue 21772 - [REG2.069] Consecutive different-signed double.nans in an array literal take the sign of the previous nan (same for float and real) 2023-01-13 23:21:20 +01:00
test21821.d Move incorrectly places runnable tests 2023-02-18 09:26:51 +01:00
test21822.d
test21833.d
test22070_2.c fix Issue 23055 - importC: using compound-literal array as pointer in CTFE gives 'dereference of invalid pointer' (#15121) 2023-04-25 12:57:41 -07:00
test22071.c fix Issue 23719 - runnable/test22071.c:22:16: error: .abc. is a pointer; did you mean to use .->.? (#15287) 2023-06-01 14:06:41 +03:00
test22163.d
test22175.d
test22205.d
test22209.d
test22227.d
test22278.d
test22321.c
test22326.c
test22342.c
test22376.c
test22428.c
test22500.c
test22513.c
test22531.c
test22538.c
test22567.c
test22585.c
test22592.c
test22597.c Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test22717.d
test22863.sh
test22897.c
test22923.c
test22930.c
test22945.d
test22972.c
test22974.c
test22976.c
test23010.d
test23011.c Azure CI: Migrate from legacy MODEL=32mscoff to MODEL=32 2023-12-16 03:11:51 +01:00
test23014.i fix issues 20737 and 23014 - TLS variables unusable with -betterC/importC for Windows MSVC targets (#15170) 2023-05-04 15:17:10 +03:00
test23025.c
test23028.c
test23036.d add __rvalue(expression) builtin (#17050) 2024-12-15 12:13:28 -08:00
test23045.c
test23058.c
test23083.d
test23148.sh
test23181.d
test23234.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test23307.d Follow-up on #14733 2022-12-23 10:30:05 +01:00
test23337.d Fix Issue 23337 - Wrongly elided postblit/copy ctor for array construction (_d_arrayctor lowering) (#14442) 2022-10-06 05:34:03 +03:00
test23343.c Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test23347.c fix Issue 23347 - ImportC: pragma pack causes asm label to set symbol name to be ignored (#14481) 2022-09-26 05:15:21 +03:00
test23387.d fix Issue 23387 - ImportC: identical structs defined in two C files lead to duplicate .init symbol on macOS 2023-02-04 23:25:55 -08:00
test23402.d fix Issue 23402 - importc function definitions from includes can cause D name conflicts (#15101) 2023-04-13 12:17:15 -07:00
test23514.d Fix issue 23514 - Incorrect compilation when adding a 64-bit constant to a link-time address (#14657) 2023-02-21 15:59:38 +01:00
test23618.d fix Issue 23618 - Right Shift equals expressions on unsigned shorts should be unsigned right shift (#14814) 2023-01-14 13:18:36 +01:00
test23710.d fix Issue 23710 - [REG master] Reachable code inside an 'if (false)' block no longer gets codegen 2023-02-26 14:36:05 +01:00
test23722.d Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343) 2024-11-27 12:03:16 +01:00
test23722_2.d Make lambda symbols stable post a3abf1187e 2024-12-07 10:48:34 +01:00
test23786.c fix Issue 24026 - ImportC: ICE on nested C initializer 2 (#15375) 2023-07-05 21:19:09 +02:00
test23837.d test: Add missing EXTRA_FILES directives to tests (#15698) 2023-10-16 16:06:48 +08:00
test23877.c fix Issue 23877 - ImportC: Importing byteswap.h results in undefined reference to core.bitop.byteswap (#15224) 2023-05-11 14:06:00 +03:00
test23889.c Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test23959.d Move lowerings to _d_array{setassign,assign_{l,r}} to a LoweredAssignExp AST node (#15295) 2023-06-13 12:10:47 +02:00
test24029.c fix Issue 24029 - ImportC: symbol name clash on statement expressions (#15378) 2023-07-04 11:15:48 +03:00
test24078.d Fix Issue 24078 - Fold constants on array concatenation only for strings 2023-08-19 10:21:56 +02:00
test24129.c fix Issue 24129 - ImportC: MS-Link cannot handle multiple COMDATs with the same name (#15585) 2023-09-20 15:50:49 -07:00
test24139.d Fix Issue 24139 - 'this' corruption in extern(C++) dtor when destructing via TypeInfo_Struct (#15598) 2023-09-11 10:55:13 +03:00
test24181.c fix Issue 24181 - reading double parameter from RCX rather than XMM1 (#15707) 2023-10-19 14:29:42 +08:00
test24184.d fix Issue 24184 - [REG 2.103] Segmentation fault accessing variable with align(N) > platform stack alignment (#15820) 2023-11-16 12:46:31 +02:00
test24371.d Fix Bugzilla Issue 24371 - String array concatenation does not respect operator precedence 2024-02-20 20:40:45 +08:00
test24498.d Fix bugzilla 24498 - Multidimensional array not scanned by GC (#16400) 2024-04-19 22:13:27 +02:00
test24590.sh Add test case for Bugzilla 24590 2024-06-11 14:37:48 +02:00
test24599.d Rebase stable6 (#16967) 2024-10-07 12:00:14 +03:00
test24819.d fix bugzilla Issue 24819 - Optimizer changes result of float calculations on 32-bit (#17023) 2024-10-25 01:47:41 +02:00
test24884.d Fix bugzilla 24884 - backend generates wrong 32-bit code after inlining math with double[4] 2024-11-29 08:35:16 +01:00
test_cdstrpar.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test_dip1006.d
test_dip1006b.d
test_dip1006c.d
test_safe_final_switch.sh Fix issue 11051 - Unmatched case in a final switch should throw in both release and non-release mode (#14841) 2023-01-24 12:48:00 +02:00
test_switches.sh Fix bugzilla 24748 - DMD can't output object files with fully qualified name, making -od overwirte each other file 2024-09-13 15:38:28 +01:00
testaa.d
testaa2.d generate full AA typeinfo in InExp 2025-02-18 09:22:39 +01:00
testaa3.d
testabi.d
testaliascast.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
testappend.d
testargtypes.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
testarray.d
testassert.d
testassert_debug.d
testassert_release.d
testassign.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
testbounds.d
testbounds_off.d
testbounds_on.d
testbounds_safeonly.d
testbtst.d
testcgelem.d
testcheck.c Move incorrectly places runnable tests 2023-02-18 09:26:51 +01:00
testclass.d
testconst.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
testconstsection.d
testcontracts.d revert deprecation of body (#15379) 2023-07-05 19:09:18 -07:00
testCopyCtor.d
testdefault_after_variadic.d
testdstress.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
testdt.d
testenum.d
testfloat.d
testgc2.d
testgc3.d
testinvariant.d Fix Issue 16384 - Invariant not called with multiple defined. (#15280) 2023-06-01 06:09:48 +03:00
testkeyword.d Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343) 2024-11-27 12:03:16 +01:00
testline.d
testmain.d
testmainb.d
testminit.d
testmod1.d
testmod2.d
testmodule.d test: Add UNICODE_NAMES directive to files with utf-8 symbols (#16136) 2024-02-08 13:25:34 +02:00
testOpApply.d
testpdb.d Deprecate string literals as (static) assert conditions (#15860) 2023-12-29 18:10:55 +01:00
testpic.d
testprofile.d
testptrref.d add support for TLS scanning in multiple DLLs and the executable 2024-01-03 11:50:56 +01:00
testptrref_gc.d
testreturn.d
testrightthis.d
testsafe.d Fix "Casting class references to void* should be @safe" 2025-01-08 23:24:36 +01:00
testscope.d
testscope2.d
testswitch.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
testthread.d Get rid of obsolete CRuntime_DigitalMars special cases 2024-05-25 15:17:31 +02:00
testthread2.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
testtypeid.d
testTypePropAsm.d
testv.d Deprecate typesafe variadic class arguments (#20673) 2025-02-16 21:35:11 +01:00
testxmm.d fix Issue 23218 - cgxmm.d:1373 assert fail (#14790) 2023-01-13 21:22:33 +01:00
testxmm2.d fix Issue 24283 - [SIMD][CODEGEN] Bad codegen with and not + AVX2 registers (#15921) 2023-12-20 06:06:29 +08:00
tls.d
tls_dup.d
traits.d Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343) 2024-11-27 12:03:16 +01:00
traits_child.d
traits_getPointerBitmap.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
traits_getUnitTests.d
traits_getVirtualIndex.d
traits_initSymbol.d
tuple_default_parameters.d
uda.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
ufcs.d test: Add UNICODE_NAMES directive to files with utf-8 symbols (#16136) 2024-02-08 13:25:34 +02:00
uniformctor.d
unique_typeinfo_names.d
variadic.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
version.d
warning1.d
wc.d
wc2.d
wc3.d
whetstone.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
xdtor.d
xpostblit.d
xtest46.d Remove D1 operators from the D2 language (#20744) 2025-01-21 06:08:05 +08:00
xtest46_gc.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
xtest47.d
xtest55.d
xtestenum.d fix bugzilla Issue 23515 - Named Enum of function SIGSEGFAULT (#16117) 2024-01-30 15:41:45 -08:00

Tests for successful code generation

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.

All compiled executables will be run and are expected to finish successfully with exit code 0. Any output from those binaries must be defined via the RUN_OUTPUT parameter.

Purpose

The point of these files is to test that the compiler emits valid code whose behaviour matches the language specification.

Remarks

Every test in this directory will be executed for all permutations of the arguments provided in the ARGS environment variable unless override by the PERMUTE_ARGS test parameter.

This means that adding tests in this directory can noticeably increase the time required to run the test suite. Hence every test should consider whether running the executable or processing all permutations is beneficial to increase the test coverage.

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