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++, coroutines: Simplify separation of the user function body and ramp.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ12.C
blob
49ea588cc5da3b7d893bb90826bff8300d6ef36c
1
// { dg-do compile { target c++14 } }
2
// { dg-options "-Wall" }
3
4
template <class T> T x;
5
template <> int x<int> = 0;
6
7
int main()
8
{
9
return x<int>;
10
}