aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp
blob: ee8b844d1f7f1985a82e4f6d6eef216844bf5a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: rm -rf %t && mkdir -p %t
// RUN: clang-doc --format=mustache --output=%t --executor=standalone %s 
// RUN: FileCheck %s < %t/html/MyNamespace/index.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><code class="language-cpp code-clang-doc">class Foo</code></pre>
// CHECK-NEXT:        </a>
// CHECK-NEXT:    </li>
// CHECK-NEXT: </ul>