aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp
blob: 7d7d108e638737c8d3318178b38f5b09735b09bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: rm -rf %t && mkdir -p %t
// RUN: clang-doc --format=mustache --output=%t --executor=standalone %s 
// RUN: FileCheck %s < %t/MyNamespace.html

namespace MyNamespace {
  class Foo;
}

// CHECK:       <ul class="class-container">
// CHECK-NEXT:    <li id="{{[0-9A-F]*}}" style="max-height: 40px;">
// CHECK-NEXT:        <a href="_ZTVN11MyNamespace3FooE.html">
// CHECK-NEXT:            <pre>
// CHECK-NEXT:                <code class="language-cpp code-clang-doc">class Foo</code>
// CHECK-NEXT:            </pre>
// CHECK-NEXT:        </a>
// CHECK-NEXT:    </li>
// CHECK-NEXT: </ul>