// RUN: %clang_cc1 -fsyntax-only -verify %s
// C++03 [namespace.udecl]p11: (per DR101)
// If a function declaration in namespace scope or block scope has
// the same name and the same parameter types as a function
// introduced by a using-declaration, and the declarations do not declare the
// same function, the program is ill-formed. [Note: two using-declarations may
// introduce functions with the same name and the same parameter types. If,
// for a call to an unqualified function name, function overload resolution
// selects the functions introduced by such using-declarations, the function
// call is ill-formed.]
//
// FIXME: DR565 introduces parallel wording here for function templates.
// FIXME: we should be able to diagnose both of these, but we can't.