repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept66.C
blob
6c76d9146ad2057d1fdd10991ba4ad99617ceee1
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
}