opnsense-src/test/CodeCompletion/namespace-alias.cpp

21 lines
388 B
C++
Raw Normal View History

2009-10-14 14:03:49 -04:00
namespace N4 {
namespace N3 { }
}
class N3;
namespace N2 {
namespace I1 { }
namespace I4 = I1;
namespace I5 { }
namespace I1 { }
namespace New =
2009-11-18 09:59:57 -05:00
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CC1 %s
2009-10-14 14:03:49 -04:00
// CHECK-CC1: I1 : 1
// CHECK-CC1: I4 : 1
// CHECK-CC1: I5 : 1
// CHECK-CC1: N2 : 3
// CHECK-CC1-NEXT: N4 : 3