dmd/compiler/test/runnable
Ilya Yanok c1343f69f3 Make lambda symbols stable post a3abf1187e
Commit a3abf1187e fixes some cases of
lambdas having unstable symbol names between compilation units by
using `generateIdWithLoc` to generate stable lambda names, however since
LOC doesn't uniquely identify a lambda instance (because templates,
mixins, static foreach and foreach unrolling), `generateIdWithLoc`
adds a counter, so there is still some instability going on.

`generateIdWithLoc` makes the name uniq per file+loc, by adding adding a
numeric suffix. But the order of instantiations might be different
across compilation units, so with this counting scheme we are back to
unstable names, so one module might have

`t!0.__lambda_LOC` and
`t!1.__lambda_LOC_1`

while another one has

`t!1.__lambda_LOC`

This is not a critical problem, but at very least the code gets
duplicated for no reason. I also have an example where it leads to
linking error, but since it's not a small one and fails to minimize
further, I suspect it's a result of interaction with some other bug.

The thing is we don't even need uniqueness for those lambdas inside
templates/mixins: their final names will have the instantiation prefix anyway.
But we can't also just disable this uniqueness check completely: `static
foreach` as well as unrollings of the normal `foreach` with lambdas in
the loop body will have several copies of a single lambda with the same
file+loc. So here we do want to keep making them unique. Fortunately, I
don't think a `foreach` could be iterated in different order in
different compilation units, so hopefully if we limit the counting to
this case only, it won't make symbols unstable.

To implement this idea, I've added an extra `parent` argument to
`generateIdWithLoc`: it works like using `parent ~ prefix` prefix, but
without adding `parent` to the final output.

Fixes since last review:
 1. Changed `fromStringz` to `toDString`
 2. Added a test to showcase the problem
2024-12-07 10:48:34 +01: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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
A16.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
a17.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
a18.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
a19.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
a20.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
a21.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
aliasassign.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
aliasthis.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
argufilem.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
arm.d add arm tests (#16563) 2024-06-05 15:31:02 -07:00
arrayop.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
auto1.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
b26.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b6400.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b10562.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b16278.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b16360.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b17073.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b18034.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b19294.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b19584.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b20470.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
b20890.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bcraii.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bcraii2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bench1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bit.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug846.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug7068.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug9010.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug11155.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug12928.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug16146.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
bug19652.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
builtin.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
c22.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
casting.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
closure.d fix Issue 23112 - code passes @nogc, allocates anyway (#14183) 2022-07-21 17:55:13 -07:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
cstuff4.c fix Issue 24264 - ImportC: inliner trips on _Bool return 2023-12-08 11:01:28 +01:00
ctfe_cov.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ctorpowtests.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
delegate.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
eh2.d Fix Issue 21415 - catch immutable exceptions breaks immutable (#14707) 2023-05-02 13:50:55 +02:00
entity1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
evalorder.d Add test for issue 21406 (#14318) 2022-07-20 15:06:00 +03:00
extern1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fix17429.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fix20466.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fix22115.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fix22372.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fix22624.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fix22918.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
fldconst.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
foreach.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
foreach2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
foreach3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
foreach4.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
foreach5.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
funclit.d Fix Bugzilla 24525 - ref lambda not parsed at start of ExpressionStatement 2024-05-02 02:20:32 +02:00
functype.d Refer to bugzilla issues by hyperlink (#15328) 2023-06-16 14:48:47 +03:00
future.d Improve @__future deprecation message (#16447) 2024-05-08 10:11:38 +03:00
gdb1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb4149.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb4181.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb10311.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb14225.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb14276.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb14313.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb14330.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb15729.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb18504.d Prefix test that requires GDB with gdb 2024-04-02 01:08:34 +02:00
gdb22590.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb_slice_debuginfo_32.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
gdb_slice_debuginfo_64.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
hello-profile.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
hello.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
helloc.c make sure hello world in C works 2024-02-24 06:49:24 +08:00
iasm.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
iasm64.d add ENDBR32 and ENDBR64 to inline assembler (#15401) 2023-07-11 11:22:36 +03:00
ice4481.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice10086a.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice10086b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice10857.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice15030.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice15138.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice15176.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice15200.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice21696.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ice21727.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
ifti.d Fix bugzilla 24731 - IFTI cannot handle integer expressions (#16822) 2024-08-31 21:20:35 +08:00
implicit.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
importc-test1.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
inclusive_incontracts.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
initializer.c fix Issue 24155 - ImportC: accept C23 default initializers (#15801) 2023-11-15 13:04:42 -08:00
inline.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
inline2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
inline3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
inline7625.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
inline14560.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
inner.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
integrate.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
interface.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
interface1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
interface2.d Refer to bugzilla issues by hyperlink (#15328) 2023-06-16 14:48:47 +03:00
interface3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
issue11070.d Fix issue 11070 - Allow declaration statement in a switch expression (#15656) 2023-10-09 08:02:34 +08:00
issue16995.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
ldc_github_1677.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
lexer.d Fix 19623 - HERE string identifier cannot start with Unicode letter 2022-11-07 23:57:23 +01:00
link846.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link2500.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link2644.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link6574.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link7745.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link7966.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link8023.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link9571.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link10425.d Refer to bugzilla issues by hyperlink (#15328) 2023-06-16 14:48:47 +03:00
link10920.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link11069a.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link11069b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link11127.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link11395.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link11931.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link12010.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link12037.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link12144.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link13043.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link13350.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link13394.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link13400.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link13415.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link13843.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14074a.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14074b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14198a.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14425.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14541.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14588.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14814.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14834.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link14992.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link15017.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link15021.d Always run backend inliner when -inline seen on command-line (#16171) 2024-02-12 15:07:58 +02:00
link15149.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
link20802.sh Fix Bugzilla 20802 - Link failure with writefln (#16200) 2024-02-19 06:35:00 +08:00
linktypeinfo.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
literal.d Fix endian issue when printing hex string literals 2024-03-15 12:31:41 +01:00
loopunroll.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
m1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
manboy.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
mangle.d Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343) 2024-11-27 12:03:16 +01:00
mars1.d test continue inside do-while (#16192) 2024-02-15 23:13:11 -08:00
minimal.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
minimal2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
mixin1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02: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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
nan.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
nested.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
newaa.d Move tests from merge_stable PR to new test directory 2022-09-06 00:53:04 +02:00
newdel.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
no_assertz_cov.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
nogc.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
noreturn1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
noreturn2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
nrvo.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
nulltype.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02: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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
objc_class.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
objc_external_class_19700.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
objc_instance_variable.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
objc_super_call.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
opdisp.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
opover.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
opover2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
opover3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
overload.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
paranoia.d Revise remaining 32{omf,mscoff} usages 2024-05-25 16:35:11 +02:00
pi.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
polysemous.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
previewin.d test: Remove 'ref' checks from -preview=in tests 2023-11-06 18:42:53 +01:00
printargs.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
profilegc_stdout.d Translate _d_newarray{U,iT,T} to a single template (#15299) 2023-10-24 10:44:55 +03:00
property.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
property2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
pubprivtmpl.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
README.md Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
s2ir.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
Same.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
sctor.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
sctor2.d revert deprecation of scope class (#15380) 2023-07-12 10:37:42 -07:00
sdtor.d Fix Issue 24010 - Destructor called before end of scope for tuples (#15351) 2023-06-30 18:35:02 +03:00
sieve.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
sroa13220.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02: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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
statictor.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
stress.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
structinit.c Consolidate C struct initializer tests 2024-04-11 18:42:03 +08:00
structlit.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template4.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template6.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template8.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Limit the number of deprecation messages by default (#16403) 2024-04-22 22:28:07 +08:00
template2962.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
template13478.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test2.d Deprecate version/debug integers (#14330) 2022-07-26 09:37:30 +03:00
test3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test4.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test5.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test8.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
test10.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11.d Deprecate version/debug integers (#14330) 2022-07-26 09:37:30 +03:00
test12.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test13.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19.d Deprecate version/debug integers (#14330) 2022-07-26 09:37:30 +03:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
test24.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test27.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test28.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test29.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test30.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test31.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test32.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test34.d Revert "deprecate Object.factory" 2023-02-14 20:42:25 +01:00
test35.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test36.d Fix bugzilla issue 24882 - COM class is allocated using GC not malloc 2024-11-29 08:37:07 +01:00
test37.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test38.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test39.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test40.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test41.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test42.d test: Add float stringof comparison tests for GDC 2024-01-28 02:44:39 +01:00
test42a.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test44b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test45.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test46.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test48.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test49.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test52.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test57.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test58.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test61.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test435.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test711.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test809.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test3574b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test3574c.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test3574d.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test5943.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test6423.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test6795.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7452.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7453.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7494.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7511.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7595.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7603.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7618.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test7932.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test8182.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test8544.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test8997.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test9259.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test9271.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test9287.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test9309.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test9495.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10378.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10386.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10441.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10445.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10567.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10573.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10619.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10736.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test10942.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11039.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11239.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11447a.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11447b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11447c.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11745.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11863.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test11934.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test12197.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test12486.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test12874.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13117.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13117b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13504.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13613.d Fix bugzilla 24337 - Segfault when printing an int[] cast from a string (#16729) 2024-07-22 11:00:31 +03:00
test13666.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13742.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13774.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test13944.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test14613.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test14874.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test14901.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test14903.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test15079.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test15373.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test15568.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test15779.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test15862.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test15913.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test16096.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test16140.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test16555.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test16579.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test16640.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test16980.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17072.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17181.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17181b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17246.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17258.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17337.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17684.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test17868.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17868b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17878.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17885.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17899.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17940.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17943.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17965.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test17968.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18054.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18076.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18141.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18296.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18322.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18335.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18412.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18456.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18472.d fix Issue 18472: betterC cannot use format at compile time 2023-02-28 10:28:27 +01:00
test18534.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18545.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18746.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18868.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18868_2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18868_3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18880.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test18902.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19086.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test19122.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19163.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19185.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19192.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19223.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19251.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19317.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19386.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19393.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19441.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19476.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19639.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19655a.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19672.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19679.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19729.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19734.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19735.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19774.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19782.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test19822.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19825.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19891.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test19946.d add support for 64 bit memset (#14788) 2023-01-05 09:39:08 -08:00
test20025.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test20036.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test20130.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test20365.d Fix Issue 20365 - Copy constructor not invoked on static arrays of structs but the postblit works (#14372) 2022-08-17 16:24:26 +03:00
test20401.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test20603.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test20649.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 fix Issue 20809 - return statement might access memory from destructed temporary (#14358) 2022-08-15 14:02:43 +03:00
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
test20855.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
test20893.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21039.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
test21040.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21120.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21234.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21301.d fix Issue 21301 - Wrong values being passed in long parameter list (#14629) 2022-11-10 11:25:05 +02:00
test21357.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21367.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21403.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21416.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21424.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21479.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21506.d fix Issue 21506 - misalignment of _argptr for variadic functions (#14654) 2022-11-26 13:45:32 -08:00
test21515.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21586.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21723.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test21833.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22175.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22205.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22209.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22227.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22278.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22321.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22326.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22342.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22376.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22428.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22500.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22513.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22531.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22538.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22567.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22585.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22592.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22597.c Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
test22717.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22863.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22897.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22923.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22930.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22945.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22972.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22974.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test22976.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23010.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23028.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23045.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23058.c Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23083.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23148.sh Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test23181.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Fix Bugzilla 24599 - Wrongly elided TypeInfo emission (#15868) 2024-07-02 19:31:34 +02: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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test_dip1006b.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
test_dip1006c.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testaa.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testaa2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testaa3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testabi.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testaliascast.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
testappend.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testargtypes.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
testarray.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testassert.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testassert_debug.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testassert_release.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testbounds_off.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testbounds_on.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testbounds_safeonly.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testbtst.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testcgelem.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testcheck.c Move incorrectly places runnable tests 2023-02-18 09:26:51 +01:00
testclass.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testcontracts.d revert deprecation of body (#15379) 2023-07-05 19:09:18 -07:00
testCopyCtor.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testdefault_after_variadic.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testdstress.d fix Issue 23145 - Stack allocation of scope new variables defeats @safe (#14175) 2023-02-08 23:29:07 -08:00
testdt.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testenum.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testfloat.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testgc2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testgc3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testmain.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testmainb.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testminit.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testmod1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testmod2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testmodule.d test: Add UNICODE_NAMES directive to files with utf-8 symbols (#16136) 2024-02-08 13:25:34 +02:00
testOpApply.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testpdb.d Deprecate string literals as (static) assert conditions (#15860) 2023-12-29 18:10:55 +01:00
testpic.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testprofile.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testptrref.d add support for TLS scanning in multiple DLLs and the executable 2024-01-03 11:50:56 +01:00
testptrref_gc.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testreturn.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testrightthis.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testsafe.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testscope.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testscope2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testTypePropAsm.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
testv.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02: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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
tls_dup.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
traits.d Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343) 2024-11-27 12:03:16 +01:00
traits_child.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
traits_getPointerBitmap.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
traits_getUnitTests.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
traits_getVirtualIndex.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
traits_initSymbol.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
tuple_default_parameters.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
unique_typeinfo_names.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
variadic.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
version.d Deprecate version/debug integers (#14330) 2022-07-26 09:37:30 +03:00
warning1.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
wc.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
wc2.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
wc3.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
whetstone.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
xdtor.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
xpostblit.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
xtest46.d compare class name signatures (#16032) 2024-01-15 22:26:47 -08:00
xtest46_gc.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
xtest47.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
xtest55.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
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.