blob: 72e6140d129f140b928db3f86e8671cd2caef354 [file] [log] [blame]
Argyrios Kyrtzidis0903f8d2013-04-19 23:24:25 +00001// Make sure the preable does not truncate comments.
2
3#ifndef BAZ
4#define BAZ 3
5#endif
6
7//! Foo’s description.
8void Foo();
9
10// RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
11// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
12
13// CHECK: FunctionDecl=Foo:8:6 RawComment=[//! Foo’s description.] RawCommentRange=[7:1 - 7:25] BriefComment=[Foo’s description.]