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:
parent
f6fa17afef
commit
9c6ff7b225
@ -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.
|
||||
|
||||
|
5
gcc/testsuite/g++.dg/init/const13.C
Normal file
5
gcc/testsuite/g++.dg/init/const13.C
Normal file
@ -0,0 +1,5 @@
|
||||
// PR c++/87897
|
||||
// { dg-do compile }
|
||||
|
||||
typedef struct A {} B;
|
||||
A const a = B ();
|
Loading…
Reference in New Issue
Block a user