diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-22 20:40:20 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-22 20:40:20 +0000 |
commit | 9fb48de917e6646725d5bb01b6e2c5ec46ff75a1 (patch) | |
tree | 8c14508cf859db320a8923e4ff707c67efaa8dd8 /test/Index/comments.c | |
parent | a030b7cf5e6aad5889b1b662b6979840bc75f87f (diff) |
Eliminate index-test; all of its tested functionality is now in c-index-test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/comments.c')
-rw-r--r-- | test/Index/comments.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/Index/comments.c b/test/Index/comments.c deleted file mode 100644 index 034317779c..0000000000 --- a/test/Index/comments.c +++ /dev/null @@ -1,34 +0,0 @@ -// Run lines are sensitive to line numbers and come below the code. - -//! It all starts here. -/*! It's a little odd to continue line this, - * - * but we need more multi-line comments. */ -/// This comment comes before my other comments -/** This is a block comment that is associated with the function f. It - * runs for three lines. - */ -void f(int, int); - -// NOT IN THE COMMENT -/// This is a BCPL comment that is associated with the function g. -/// It has only two lines. -/** But there are other blocks that are part of the comment, too. */ -void g(int); - -void h(int); ///< This is a member comment. - - -// RUN: %clang_cc1 -emit-pch -o %t.ast %s - -// RUN: index-test %t.ast -point-at %s:11:6 > %t -// RUN: grep "starts here" %t -// RUN: grep "block comment" %t - -// RUN: index-test %t.ast -point-at %s:17:6 > %t -// RUN: grep "BCPL" %t -// RUN: grep "But" %t - -// RUN: index-test %t.ast -point-at %s:19:6 > %t -// RUN: grep "NOT" %t | count 0 -// RUN: grep "member" %t |