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-96647.C
blob
8cbe155415cde28d0f28ef2d29efc58b57971c6d
1
// PR c++/96647
2
// { dg-do compile { target c++14 } }
3
4
template<typename>
5
struct Base {
6
auto f(int) { }
7
auto f(char) { }
8
};
9
10
void (Base<void>::*ptr)(int) = &Base<void>::f;