repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_constructor-2.C
blob
8123fe93d1c2b52412c347cd77cb2b67d3472c24
1
// PR c++/55842
2
// { dg-do compile { target c++11 } }
3
4
template <class=void> struct number {
5
number() noexcept(noexcept(0)) { }
6
};
7
const int z=__has_nothrow_constructor(number<>);