Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Index / annotate-comments-unterminated.c
blob305cf23191725f6ecd4c6630479f7c28d0b8f794
1 // RUN: c-index-test -test-load-source all %s | FileCheck %s
2 // RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-ERR %s
4 // CHECK: annotate-comments-unterminated.c:9:5: VarDecl=x:{{.*}} RawComment=[/** Aaa. */]{{.*}} BriefComment=[Aaa.]
5 // CHECK: annotate-comments-unterminated.c:11:5: VarDecl=y:{{.*}} RawComment=[/**< Bbb. */]{{.*}} BriefComment=[Bbb.]
6 // CHECK-ERR: error: unterminated
8 /** Aaa. */
9 int x;
11 int y; /**< Bbb. */
12 /**< Ccc.
13 * Ddd.