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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ellipsis.C
blob
8c0783c9acccc1df203ccc537b1d105a0ba46d33
1
// { dg-do compile { target c++11 } }
2
constexpr int ellipsis(...) { return 1; }
3
4
constexpr int ellipsis_c = ellipsis(); // OK
5
constexpr int ellipsis_c2 = ellipsis(42); // Internal error