summaryrefslogtreecommitdiff
path: root/test/CodeCompletion/truncation.c
blob: b6c41de024f1ac407c932774d249a407a18ef520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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