1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
276 B

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
namespace A {
int a;
}
namespace C {
int c;
}
namespace B {
using namespace C;
int b;
}
namespace C {
using namespace B;
using namespace A;
}
void test() {
C::a++;
C::b++;
C::c++;
}