Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
static_assert15.C
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
,
""
);
}
};