Add a test I forgot to svn add in r197755

llvm-svn: 197756
This commit is contained in:
Dmitri Gribenko 2013-12-20 00:21:47 +00:00
parent 4765252dcb
commit 514102d24f
4 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 LIBCLANG_DISABLE_CRASH_RECOVERY=1 \
// RUN: c-index-test -test-load-source-reparse 2 all -remap-file-0="%S/test.h,%S/test.h-0" -remap-file-1="%S/test.h,%S/test.h-1" -- %s
#include "test.h"
void foo() {
bar();
}

View File

@ -0,0 +1,3 @@
/// Comment for bar
void bar(void);

View File

@ -0,0 +1,6 @@
void test1(void);
/// Comment for bar
void bar(void);
void test3(void);

View File

@ -0,0 +1,6 @@
void test1(void);
void test2(void);
/// Comment for bar
void bar(void);