brintos

brintos / llvm-project-archived public Read only

0
0
Text · 594 B · 0200a57 Raw
19 lines · cpp
1// RUN: rm -rf %t && mkdir -p %t2 3// RUN: clang-doc --output=%t --executor=standalone %s 4// RUN: find %t/ -regex ".*/[0-9A-F]*.yaml" -exec cat {} ";" | FileCheck %s --check-prefix=CHECK-YAML5 6// RUN: clang-doc --format=html --output=%t --executor=standalone %s 7// RUN: FileCheck %s < %t/GlobalNamespace/MyStruct.html --check-prefix=CHECK-HTML8 9template <typename T>10struct MyStruct {11  operator T();12};13 14// Output correct conversion names.15// CHECK-YAML:         Name:            'operator T'16 17// CHECK-HTML: <h3 id="{{[0-9A-F]*}}">operator T</h3>18// CHECK-HTML: <p>public T operator T()</p>19