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-templ65.C
blob
10398bb793f7bb66a6d7ca103fbeca04d2e92efa
1
// PR c++/84255
2
// { dg-do compile { target c++14 } }
3
4
template<typename T> constexpr int var;
5
template<typename T> constexpr int var = 1; // { dg-error "redefinition" }