
PR c++/61661 * semantics.c (reduced_constant_expression_p): Handle CONSTRUCTOR. From-SVN: r212439
13 lines
183 B
C
13 lines
183 B
C
// PR c++/61661
|
|
// { dg-do compile { target c++11 } }
|
|
|
|
struct Outer {
|
|
|
|
void Bar();
|
|
|
|
struct Foo {
|
|
void (Outer::*ptr)() ;
|
|
};
|
|
|
|
static constexpr Foo foo = { &Outer::Bar };
|
|
};
|