Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr88987.C
blob: c26b571f559a3194991d383f8846f25e6af836b2 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
int
sm
;
template
<
typename
T
>
T
pk
()
noexcept
(
sm
)
// { dg-error "constant expression" }
{
return
0
;
}