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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
fn-template4.C
blob
9259c2ebf23512f15c8d24e1745d65a0330a6770
1
// P0846R0
2
// { dg-do compile }
3
// { dg-options "-std=c++2a" }
4
5
template <typename T> void foo() { }
6
template <typename T> void bar(int) { }
7
int main()
8
{
9
foo<float>();
10
bar<int>(1);
11
}