2009-09-18 23:03:04 +04:00
|
|
|
namespace N4 {
|
|
|
|
namespace N3 { }
|
|
|
|
}
|
|
|
|
|
|
|
|
class N3;
|
|
|
|
|
|
|
|
namespace N2 {
|
|
|
|
namespace I1 { }
|
|
|
|
namespace I4 = I1;
|
|
|
|
namespace I5 { }
|
|
|
|
namespace I1 { }
|
|
|
|
|
|
|
|
void foo() {
|
|
|
|
int N3;
|
|
|
|
|
2009-09-23 01:11:38 +04:00
|
|
|
using
|
2009-11-08 04:45:36 +03:00
|
|
|
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
|
2009-09-18 23:03:04 +04:00
|
|
|
// CHECK-CC1: I1 : 2
|
|
|
|
// CHECK-CC1: I4 : 2
|
|
|
|
// CHECK-CC1: I5 : 2
|
2009-09-23 03:15:58 +04:00
|
|
|
// CHECK-CC1: N2 : 4
|
|
|
|
// CHECK-CC1: N3 : 4
|
2009-09-25 02:57:42 +04:00
|
|
|
// CHECK-CC1-NEXT: N4 : 4
|
2009-09-18 23:03:04 +04:00
|
|
|
|