re PR c++/60432 (Member pointer resolution within class definition causes segmentation fault)
2014-06-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60432 * g++.dg/cpp0x/constexpr-60432.C: New. From-SVN: r211312
This commit is contained in:
parent
58e5400aec
commit
506ac72b86
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-06-06 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/60432
|
||||
* g++.dg/cpp0x/constexpr-60432.C: New.
|
||||
|
||||
2014-06-06 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/60199
|
||||
|
|
8
gcc/testsuite/g++.dg/cpp0x/constexpr-60432.C
Normal file
8
gcc/testsuite/g++.dg/cpp0x/constexpr-60432.C
Normal file
|
@ -0,0 +1,8 @@
|
|||
// PR c++/60432
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
struct A
|
||||
{
|
||||
int a;
|
||||
static constexpr int A::*p = &A::a;
|
||||
};
|
Loading…
Add table
Reference in a new issue