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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr60627.C
blob
64eb635922103784ef24fa504b8a14a6a4f4f5f3
1
// PR c++/60627
2
// { dg-do compile { target c++14 } }
3
// { dg-options "" }
4
5
template<typename T> void foo(T) {}
6
7
template void foo(auto); // { dg-error "auto|does not match" }
8
9
void bar()
10
{
11
foo(0);
12
}