Commit debc8f4a by Paolo Carlini Committed by Paolo Carlini

re PR c++/70383 (Bogus error when attempting to capture a reference to function by copy)

2017-11-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/70383
	* g++.dg/cpp0x/lambda/lambda-70383.C: New.

From-SVN: r254808
parent 692dc070
2017-11-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/70383
* g++.dg/cpp0x/lambda/lambda-70383.C: New.
2017-11-16 Julia Koval <julia.koval@intel.com> 2017-11-16 Julia Koval <julia.koval@intel.com>
* gcc.target/i386/avx512f-gf2p8mulb-2.c: New runtime tests. * gcc.target/i386/avx512f-gf2p8mulb-2.c: New runtime tests.
......
// PR c++/70383
// { dg-do compile { target c++11 } }
void meow() {
void purr();
void (&f)() = purr;
[f]{};
}
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