clang/test/Index/comment-redeclarations.cpp
raw| 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 |
| 5 | |
| 6 | class Foo; |
| 7 | // CHECK: CXComment_Text Text=[ Foo is the best!])))] |
| 8 | |
| 9 | /// Foo is the best! |
| 10 | class Foo; |
| 11 | // CHECK: CXComment_Text Text=[ Foo is the best!])))] |
| 12 | |
| 13 | class Foo {}; |
| 14 | // CHECK: CXComment_Text Text=[ Foo is the best!])))] |