gcc/testsuite/g++.dg/modules/virt-3_a.C
raw| 1 | // PR c++/114229 |
| 2 | // { dg-additional-options "-fmodules-ts -Wno-global-module" } |
| 3 | // { dg-module-cmi modA } |
| 4 | |
| 5 | module; |
| 6 | template<class> struct basic_streambuf { virtual void overflow() { } }; |
| 7 | extern template struct basic_streambuf<long>; |
| 8 | export module modA; |
| 9 | export basic_streambuf<long> *p; |