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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn4.C
blob
c2e1893523c378907788ca4f45f1fccde6bce4ad
1
// { dg-do compile { target c++14 } }
2
3
template <class T>
4
constexpr auto f(T t) { return t+1; }
5
6
#define SA(X) static_assert((X),#X)
7
SA(f(1)==2);