mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
26 lines
586 B
D
26 lines
586 B
D
// PERMUTE_ARGS:
|
|
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
|
|
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=273
|
|
|
|
/// Template Documentation (OK)
|
|
template Template(T) { }
|
|
|
|
/// Function Documentation (Not included at all by DDoc)
|
|
void Function(T)(T x) { }
|
|
|
|
/// Class Documentation (OK)
|
|
class Class(T) { }
|
|
|
|
/// Struct Documentation
|
|
struct Struct(T) { }
|
|
|
|
/// Union Documentation
|
|
union Union(T) { }
|
|
|
|
/// Template documentation with anonymous enum
|
|
template TemplateWithAnonEnum(T)
|
|
{
|
|
enum { TemplateWithAnonEnum = 1 }
|
|
}
|