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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
init7.C
blob
e2267767b891acf0bd0c0dfee09f97f1f584aff1
1
/* PR c++/31517. This used to ICE. */
2
/* { dg-do "compile" } */
3
4
template<typename> struct A
5
{
6
static const int i=0;
7
};
8
9
template<typename T> const int A<T>::i = 0=0; /* { dg-error "duplicate initialization" } */