[Issue 20719] Self referential struct definition causes stack overflow
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 15 02:45:41 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20719
--- Comment #3 from Ben <ben.james.jones at gmail.com> ---
Not sure it's the same bug since mine triggers a stack overflow with no
diagnostics. Here's the dustmite script I used to reduce:
#!/bin/sh
# arguments to dmd
DMDARGS="test20719.d"
OUTPUT=$(lldb --batch -o "run $DMDARGS" -k 'bt 30' -k 'quit' -o 'quit' dmd
2>&1)
#echo $OUTPUT
echo "$OUTPUT" | egrep -q
"_D3dmd4func15FuncDeclaration14isTypeIsolatedMFCQBt5mtype4TypeZb"
exit $?
--
More information about the Digitalmars-d-bugs
mailing list