1 // Note: the run lines follow their respective tests, since line/column
2 // matter in this test.
4 namespace SomeNamespace
{
10 using SomeNamespace::SomeClass
;
11 using SomeNamespace::SomeFunction
;
17 // RUN: c-index-test -code-completion-at=%s:14:3 %s | FileCheck -check-prefix=CHECK-CC1 %s
18 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%s:14:3 %s | FileCheck -check-prefix=CHECK-CC1 %s
20 // CHECK-CC1: ClassDecl:{TypedText SomeClass} (50)
21 // CHECK-CC1: FunctionDecl:{ResultType void}{TypedText SomeFunction}{LeftParen (}{RightParen )} (50)
22 // CHECK-CC1-NOT: {Text SomeNamespace::}{TypedText SomeClass}
23 // CHECK-CC1-NOT: {Text SomeNamespace::}{TypedText SomeFunction}