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-empty8.C
blob
8c1414af55839cdf1f4c76c6255953a2ed46c6b2
1
// PR c++/63924
2
// { dg-do compile { target c++11 } }
3
4
struct A { };
5
constexpr bool f(A a) { return true; }
6
template <bool B> constexpr bool g() { return true; }
7
constexpr bool g(A a) { return g<f(a)>(); }