Commit ae4d1777 by Paolo Carlini

re PR c++/52816 ([C++11] Access to private members inside decltype in the…

re PR c++/52816 ([C++11] Access to private members inside decltype in the signature of a member template causes access control error)

2013-07-22  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/52816
	* g++.dg/cpp0x/decltype56.C: New.

From-SVN: r201136
parent a8599552
2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52816
* g++.dg/cpp0x/decltype56.C: New.
2013-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.dg/pr53265.c: Correct line number in dg-message.
2013-07-22 Diego Novillo <dnovillo@google.com>
* testsuite/g++.dg/pr57878.C: Do not force -m32. Use
target ilp32.
* g++.dg/pr57878.C: Do not force -m32. Use target ilp32.
2013-07-22 Georg-Johann Lay <avr@gjlay.de>
......@@ -61,7 +65,8 @@
* gcc.target/sparc/struct-ret-check.c: Likewise.
* gcc.target/x86_64/abi/test_struct_returning.c: Likewise.
* gfortran.dg/c_ptr_tests_8_funcs.c: Likewise.
* objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: Likewise.
* objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h:
Likewise.
2013-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
......
// PR c++/52816
// { dg-do compile { target c++11 } }
class c {
int f;
public:
template <typename A>
decltype(f) m(A) const;
};
decltype(c{}.m(0)) i;
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