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
c++: regenerate opt urls
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ10.C
blob
ece2eb28027558445f3e64e8d4f6b0d3d9080872
1
// { dg-do compile { target c++14 } }
2
3
template <class T>
4
struct Y
5
{
6
template <class U> static U x;
7
};
8
9
template <class T>
10
template <class U>
11
U Y<T>::x = U();
12
13
int main()
14
{
15
int y = Y<int>::x<int>;
16
}