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
/
noexcept74a.C
blob
008654d44eafb7e3d3edbf7da5f655057aa9a286
1
// PR c++/104079
2
// { dg-do compile { target c++11 } }
3
// A variant of noexcept74.C where f is a function template.
4
5
template<bool B>
6
struct AT {
7
template<class...> static void f() noexcept(B);
8
9
void g() noexcept(noexcept(f())) {
10
static_assert(noexcept(f()), "");
11
}
12
};