Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept66.C
blob: 6c76d9146ad2057d1fdd10991ba4ad99617ceee1 [
file
] [
log
] [
blame
]
// PR c++/99844
// { dg-do compile { target c++11 } }
template
<
bool
...
B
>
struct
S
{
void
fn
()
noexcept
(
B
);
// { dg-error "parameter packs not expanded" }
};
void
fn
()
{
S
<true>
s
;
s
.
fn
();
}