Sign in
android
/
toolchain
/
gcc
/
3f73d6ef904
/
.
/
gcc-4.6
/
gcc
/
testsuite
/
g++.dg
/
init
/
pr29571.C
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
);
};