D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18382 - Crash with -unittest -test
Summary: Crash with -unittest -test
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P3 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-06 08:40 UTC by FeepingCreature
Modified: 2024-12-13 18:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description FeepingCreature 2018-02-06 08:40:42 UTC
Reproduce:
echo "import std.algorithm; enum array = sort(string[].init);" > test.d
dmd -deps -unittest test.d

Expected: 

Linker error about missing main

Actual:

Compiler crashes.
Comment 1 dlangBugzillaToGithub 2024-12-13 18:56:48 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19381

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB