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
/
var-templ25.C
blob
8253eac5cde83c406d05fedb1512c423d5205932
1
// { dg-do compile { target c++14 } }
2
3
using fl = float;
4
5
template<class T> const int V = 0;
6
template<> const int V<fl> = 42;
7
8
static_assert(V<float> == 42, "");