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
PR c++/56973, DR 696 - capture constant variables only as needed.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ53.C
blob
3e30d679f194549d08f79771e7cb4c9355e8bd20
1
// PR c++/71630
2
// { dg-do compile { target c++14 } }
3
4
template <class T>
5
extern T pi;
6
7
int main()
8
{
9
return pi<int>;
10
}