mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
49 lines
428 B
C++
49 lines
428 B
C++
void gf() {}
|
|
|
|
namespace N
|
|
{
|
|
void nf() {}
|
|
}
|
|
|
|
using N::nf;
|
|
using namespace N;
|
|
|
|
struct B
|
|
{
|
|
static void bf() {}
|
|
};
|
|
|
|
struct D : B
|
|
{
|
|
using B::bf;
|
|
|
|
void df() {
|
|
using ::gf;
|
|
gf();
|
|
}
|
|
};
|
|
|
|
template <typename T>
|
|
struct TB
|
|
{
|
|
static void tbf() {}
|
|
};
|
|
|
|
struct TD : TB<int>, TB<float>
|
|
{
|
|
using TB<int>::tbf;
|
|
};
|
|
|
|
namespace nsfoo {
|
|
void foo(void);
|
|
}
|
|
|
|
namespace nsbar {
|
|
using ::nsfoo::foo;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|