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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20101009-1_0.C
blob
b7cc5bc478f908e8727572b3843a2ca5ec9912f7
1
// { dg-lto-do link }
2
3
template < typename > struct X
4
{
5
template < typename > static int test ();
6
static const int i = sizeof (test < int >());
7
};
8
9
template struct X < int >;
10
11
int main()
12
{
13
return 0;
14
}