1template<typename T> struct S {
2  __attribute__((always_inline)) static int f() { return 0; }
3  __attribute__((always_inline, visibility("hidden"))) static int g() { return 0; }
4};
5
6extern template struct S<int>;
7
8template<typename T> T min(T a, T b) { return a < b ? a : b; }
9
10extern decltype(min(1, 2)) instantiate_min_decl;
11
12template<typename T> struct CtorInit {
13  static int f() { return 0; }
14  int a;
15  CtorInit() : a(f()) {}
16};
17