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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error50.C
blob
f9c42dd7e41a88de70980d0d504144bdd327a5a4
1
// PR c++/18747
2
3
template<> int i; // { dg-error "template" }
4
5
struct A
6
{
7
static int i;
8
};
9
10
template<> int A::i; // { dg-error "template" }
11
12
template <class T>
13
struct B
14
{
15
static T i;
16
};
17
18
template<> template <> int B<int>::i; // { dg-error "template|should be 1" }