llvm-for-llvmta/tools/clang/test/Index/comment-redeclarations.cpp

15 lines
438 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng -target x86_64-apple-darwin10 %s > %t/out
// RUN: FileCheck %s < %t/out
class Foo;
// CHECK: CXComment_Text Text=[ Foo is the best!])))]
/// Foo is the best!
class Foo;
// CHECK: CXComment_Text Text=[ Foo is the best!])))]
class Foo {};
// CHECK: CXComment_Text Text=[ Foo is the best!])))]