namespace-alias.cpp 376 B

1234567891011121314151617181920
  1. namespace N4 {
  2. namespace N3 { }
  3. }
  4. class N3;
  5. namespace N2 {
  6. namespace I1 { }
  7. namespace I4 = I1;
  8. namespace I5 { }
  9. namespace I1 { }
  10. namespace New =
  11. // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
  12. // CHECK-CC1: I1
  13. // CHECK-CC1: I4
  14. // CHECK-CC1: I5
  15. // CHECK-CC1: N2
  16. // CHECK-CC1-NEXT: N4