aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/static7.C
blob: 282f78fe8f828b545a6a541d537b39be20c71cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>

template <class T>
struct S {
  S() {}

  static S s;
};

template <class T>
S<T> S<T>::s;

S<int> si;