Commit 9c6ff7b2 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/87897 (ICE in maybe_constant_value, at cp/constexpr.c:5255 since r265788)

	PR c++/87897
	* g++.dg/init/const13.C: New test.

From-SVN: r266818
parent f6fa17af
2018-12-05 Jakub Jelinek <jakub@redhat.com>
PR c++/87897
* g++.dg/init/const13.C: New test.
PR sanitizer/88333
* c-c++-common/asan/pr88333.c: New test.
......
// PR c++/87897
// { dg-do compile }
typedef struct A {} B;
A const a = B ();
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