Add more reference-binding examples from the C++0x working paper, all of which seem...
[clang.git] / test / CodeCompletion / truncation.c
blob1b446b7d92cad6e09d062831c3ca494973dcc53b
1 #include "truncation.c.h"
3 struct
5 /* foo */
7 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CC1 %s
8 // CHECK-CC1: X
9 // CHECK-CC1-NEXT: Y
10 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:3:8 -o - %s | FileCheck -check-prefix=CC2 %s
11 // CHECK-CC2: X
12 // CHECK-CC2: Xa
13 // CHECK-CC2: Y
15 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:3 -o - %s | FileCheck -check-prefix=CC3 %s
16 // CHECK-CC3: X
17 // CHECK-CC3: Xa
18 // CHECK-CC3: Y