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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
static5.C
blob
007b7c398d148d5cf086f3adf87be21a3ff82c56
1
struct S
2
{
3
static int i;
4
const static double d;
5
};
6
7
static int S::i; // { dg-error "1:.static. may not be used" }
8
const static double S::d = 1.0; // { dg-error "7:.static. may not be used" }