blob: a740f73fd4acdceff1b865151f70f8558774c9f4 [file] [log] [blame]
// PR c++/84596
// { dg-do compile { target c++11 } }
template<int x>
struct a {
constexpr void b() {
int c;
static_assert(c %= 1, "");
}
};