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
/
error33.C
blob
e1ac82210bfc7f735f5e74259ab3906ca933eb34
1
// PR c++/24791
2
3
template<int> struct A
4
{
5
static int i;
6
A() { ++i; }
7
};
8
9
template<int> int A<0>::i(0); // { dg-error "template" }
10
11
A<0> a;