Commit efa77d22 by Paolo Carlini Committed by Paolo Carlini

re PR c++/57573 ([C++1y] bogus "taking address of temporary" error)

2014-06-26  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57573
	* g++.dg/template/pr57573.C: New.

From-SVN: r212052
parent e288a46c
2014-06-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57573
* g++.dg/template/pr57573.C: New.
2014-06-26 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/tree-ssa/interposition.c: New testcase.
......
// PR c++/57573
struct A { };
struct B { A a; };
void f(A*) { }
template<class T>
void g()
{
B b;
f(&(b.a));
}
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