| Richard Smith | d28ac5b | 2014-03-22 23:33:22 +0000 | [diff] [blame] | 1 | template<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 | |||||
| 6 | extern template struct S<int>; | ||||