[Issue 8081] New: pure nothrow unittest problem in generated 'header' file
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 10 17:19:32 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8081
Summary: pure nothrow unittest problem in generated 'header'
file
Product: D
Version: D2
Platform: x86
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-05-10 17:20:55 PDT ---
A problem shown in the latest DMD2.060alpha, in the file:
...\dmd2\src\druntime\src\core\atomic.d
...\druntime\import\core\atomic.di
A D2 test program:
version(unittest) {
pure nothrow unittest {}
pure nothrow unittest {}
}
void main() {}
Using:
dmd -H test.d
It generates this, that seems wrong:
// D import file generated from 'test.d'
version (unittest)
{
nothrow pure
nothrow pure
}
void main()
{
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list