summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20101009-1_0.C
blob: b7cc5bc478f908e8727572b3843a2ca5ec9912f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-lto-do link }

template < typename > struct X
{
  template < typename > static int test ();
  static const int i = sizeof (test < int >());
};

template struct X < int >;

int main()
{
  return 0;
}