freebsd-skq/test/CodeCompletion/nested-name-specifier.cpp

18 lines
273 B
C++
Raw Normal View History

2009-10-14 18:03:49 +00:00
namespace N {
struct A { };
namespace M {
struct C { };
};
}
namespace N {
struct B { };
}
N::
2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s
2009-10-14 18:03:49 +00:00
// CHECK-CC1: A : 0
// CHECK-CC1: B : 0
// CHECK-CC1: M : 0