Allow resolving headers from a PCH even after headers+PCH were moved to another path.
[clang.git] / test / CodeCompletion / using.cpp
blobb84aa26be95b0fef33fa17e8ad75a69fa6e65f0d
1 namespace N4 {
2 namespace N3 { }
5 class N3;
7 namespace N2 {
8 namespace I1 { }
9 namespace I4 = I1;
10 namespace I5 { }
11 namespace I1 { }
13 void foo() {
14 int N3;
16 using
17 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
18 // CHECK-CC1: I1
19 // CHECK-CC1: I4
20 // CHECK-CC1: I5
21 // CHECK-CC1: N2
22 // CHECK-CC1: N3
23 // CHECK-CC1-NEXT: N4