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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-noexcept7.C
blob
2a70d7bb5298ce6303218cd132bfa517279f4e78
1
// PR c++/53473
2
// { dg-do compile { target c++11 } }
3
4
template<typename T> struct A
5
{
6
static constexpr T foo() noexcept { return 0; }
7
};
8
9
template<> constexpr int A<int>::foo() noexcept { return 0; }