Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / comment-with-preamble.c
blob72e6140d129f140b928db3f86e8671cd2caef354
1 // Make sure the preable does not truncate comments.
3 #ifndef BAZ
4 #define BAZ 3
5 #endif
7 //! Foo’s description.
8 void Foo();
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
13 // CHECK: FunctionDecl=Foo:8:6 RawComment=[//! Foo’s description.] RawCommentRange=[7:1 - 7:25] BriefComment=[Foo’s description.]