| 1 |
// PR c++/106849 |
| 2 |
// { dg-additional-options "-fmodules-ts" } |
| 3 |
// { dg-module-cmi !lib } |
| 4 |
|
| 5 |
export module lib; |
| 6 |
|
| 7 |
namespace outer { |
| 8 |
template<typename T> void any_of(T) { } // { dg-note "declared here" } |
| 9 |
} |
| 10 |
|
| 11 |
export using outer::any_of; // { dg-error "does not have external linkage" } |