Bug 9833 – version(unittest) should be included in documented unittests

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-30T01:48:00Z
Last change time
2016-08-27T23:13:53Z
Keywords
ddoc
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2013-03-30T01:48:08Z
The following does not generate any documented unittests: module test; /// void foo(T)(T t) { } /// version(unittest) { struct C { } } /// unittest { C c; foo(c); } $ dmd -D -o- test.d
Comment #1 by andrej.mitrovich — 2016-08-27T23:13:53Z
Seems to work now.