mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 19:16:05 +00:00

Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
16 lines
418 B
C
16 lines
418 B
C
#include "truncation.c.h"
|
|
|
|
/* foo */
|
|
|
|
struct
|
|
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CHECK-CC1 %s
|
|
// CHECK-CC1: X
|
|
// CHECK-CC1-NEXT: Y
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:8 -o - %s | FileCheck -check-prefix=CHECK-CC2 %s
|
|
// CHECK-CC2: X
|
|
// CHECK-CC2: Xa
|
|
// CHECK-CC2: Y
|
|
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:3:3 -o - %s
|