Commit af2db4c5 by Paolo Carlini Committed by Paolo Carlini

re PR c++/54310 (Order of operations during overload resolution)

2014-05-13  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/54310
	* g++.dg/template/pr54310.C: New.

From-SVN: r210385
parent 9aa54cc9
2014-05-13 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54310
* g++.dg/template/pr54310.C: New.
2014-05-13 Nathan Sidwell <nathan@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
......
// PR c++/54310
template <typename T>
struct meta
{
typedef typename T::type type;
};
struct S{};
template <typename T>
typename meta<T>::type foo(T, S);
int foo(int, int);
int main()
{
foo(0, 0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment