* constexpr.c (potential_constant_expression_1): REALPART_EXPR and IMAGPART_EXPR can be lvalues. From-SVN: r242349
6 lines
127 B
C
6 lines
127 B
C
// { dg-do compile { target c++11 } }
|
|
// { dg-options "" }
|
|
|
|
static _Complex int i;
|
|
static_assert (&__imag i == &__imag i, "");
|