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
Fix Ada runtime library breakage on Solaris
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
static6.C
blob
b2928538bdbd2afeb06807f0c12ea2970c1138e9
1
// { dg-do link }
2
// { dg-xfail-if "" { *-*-aout *-*-coff *-*-hms } }
3
4
// Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
5
6
template <class T> struct A {
7
static const int l[1];
8
};
9
10
template<class T>
11
const int A<T>::l[1] = {1};
12
13
int i = A<int>::l[0];
14
15
int main(){}