Source

gdc / gdc.test / compilable / ddoc13.d

Full commit
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Ddtest_results/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddoc13-postscript.sh

/// struct doc
struct Bug4107(T)
{
    /// templated function doc
    void foo(U)(U u) { }
}

/// alpha
struct Bug4107b(T) {
    /// beta
    struct B(U) {
        /// gamma
        struct C(V) {
            /// delta
            struct D(W) {
                /// epsilon
                B!W e(X)(C!V c, X[] x...) {}
            }
        }
    }
}