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
This commit is contained in:
Jakub Jelinek 2018-12-05 09:43:12 +01:00 committed by Jakub Jelinek
parent f6fa17afef
commit 9c6ff7b225
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,8 @@
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.

View File

@ -0,0 +1,5 @@
// PR c++/87897
// { dg-do compile }
typedef struct A {} B;
A const a = B ();