blob: 9e8e6093ef2fa5ed5b6808ceeb5ddd1626502547 [file] [log] [blame]
// PR c++/29571
struct A
{
static const int i = 0/0 + ""; // { dg-warning "division by zero" }
// { dg-error "field initializer is not constant" "" { target *-*-* } 5 }
static const int j = int(i);
};