https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943
--- Comment #4 from Anders Sjögren anders at sjogren dot info ---
Thanks for fixing the bug!
It seems that the test file
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/testsuite/g%2B%2B.dg/cpp1y/pr60943.C?view=markuppathrev=223502
contains an error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943
--- Comment #6 from Anders Sjögren anders at sjogren dot info ---
An alternative test case, which also tests that the correct version is
selected, could be:
#include type_traits
using expected_lvalue_res_t = int;
using expected_rvalue_res_t =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943
--- Comment #5 from Anders Sjögren anders at sjogren dot info ---
A typo snuck in...
However, as an l-value at the site of the call[...]
should be
However, a is an l-value at the site of the call[...]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943
Nathan Sidwell nathan at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60943
--- Comment #2 from Nathan Sidwell nathan at gcc dot gnu.org ---
Author: nathan
Date: Thu May 21 20:50:45 2015
New Revision: 223502
URL: https://gcc.gnu.org/viewcvs?rev=223502root=gccview=rev
Log:
cp/
PR c++/60943
*