Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
static_assert14.C
blob: ee709f4200fe1cd761db5c6a11ae5c6ee2430068 [
file
] [
log
] [
blame
]
// PR c++/84596
// { dg-do compile { target c++11 } }
template
<
int
x
>
void
b
(
int
c
)
{
static_assert
(
c
,
"c"
);
// { dg-error "non-constant|not a constant" }
}