1*67e74705SXin Li // Make sure the preable does not truncate comments. 2*67e74705SXin Li 3*67e74705SXin Li #ifndef BAZ 4*67e74705SXin Li #define BAZ 3 5*67e74705SXin Li #endif 6*67e74705SXin Li 7*67e74705SXin Li //! Foo’s description. 8*67e74705SXin Li void Foo(); 9*67e74705SXin Li 10*67e74705SXin Li // RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s 11*67e74705SXin Li // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 1 local %s | FileCheck %s 12*67e74705SXin Li 13*67e74705SXin Li // CHECK: FunctionDecl=Foo:8:6 RawComment=[//! Foo’s description.] RawCommentRange=[7:1 - 7:25] BriefComment=[Foo’s description.] 14