Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / comment-redeclarations.cpp
blobda9db7c3e9678409ad25f9122d24dd5fa4814522
1 // RUN: rm -rf %t
2 // RUN: mkdir %t
3 // 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
4 // RUN: FileCheck %s < %t/out
6 class Foo;
7 // CHECK: CXComment_Text Text=[ Foo is the best!])))]
9 /// Foo is the best!
10 class Foo;
11 // CHECK: CXComment_Text Text=[ Foo is the best!])))]
13 class Foo {};
14 // CHECK: CXComment_Text Text=[ Foo is the best!])))]