| 1 |
// PR c++/115062 |
| 2 |
// { dg-additional-options "-fmodule-header" } |
| 3 |
// { dg-module-cmi {} } |
| 4 |
|
| 5 |
template <typename> |
| 6 |
struct S { |
| 7 |
int a; |
| 8 |
long b; |
| 9 |
union {}; |
| 10 |
~S(); |
| 11 |
void foo(); |
| 12 |
}; |
| 13 |
extern template void S<char>::foo(); |
| 14 |
S<char> operator+(S<char>, const char *); |