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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-decltype2.C
blob
15ca995f828a66d34ecee1a25c293e2c6f032843
1
// PR c++/65942
2
// { dg-do compile { target c++11 } }
3
4
template <typename T> constexpr int f(T t) { return t; }
5
template <typename T, typename = decltype(f(T()))> void g(T) { }
6
void g(...) { }
7
int main() { g(""); }