blob: 37e101e221ea3cc30a7ab5467042e01a7b3d92dc [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
extern "C" { void f(bool); }
namespace std {
using ::f;
inline void f() { return f(true); }
}
namespace M {
void f(float);
}
namespace N {
using M::f;
void f(int) { } // expected-note{{previous}}
void f(int) { } // expected-error{{redefinition}}
}