+2016-10-26 Jason Merrill <jason@redhat.com>
+
+ * class.c (add_method): Allow using-declarations to coexist.
+
2016-10-25 Jason Merrill <jason@redhat.com>
* constexpr.c (maybe_constant_init): Pull out TARGET_EXPR_INITIAL.
if (TREE_CODE (fn) != TREE_CODE (method))
continue;
+ /* Two using-declarations can coexist, we'll complain about ambiguity in
+ overload resolution. */
+ if (using_decl && TREE_CODE (fns) == OVERLOAD && OVL_USED (fns))
+ continue;
+
/* [over.load] Member function declarations with the
same name and the same parameter types cannot be
overloaded if any of them is a static member