☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept66.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/noexcept66.C
code
plain
raw
1
// PR c++/99844
2
// { dg-do compile { target c++11 } }
3
4
template <bool... B>
5
struct S {
6
void fn() noexcept(B); // { dg-error "parameter packs not expanded" }
7
};
8
9
void fn ()
10
{
11
S<true> s;
12
s.fn();
13
}