Debian Codegraph @

gcc/testsuite/g++.dg/modules/pr99389_a.H

raw
1 // PR 99389 failed to stream class specialization
2 // { dg-module-do link }
3 // { dg-additional-options "-fmodule-header" }
4 // { dg-module-cmi {} }
5 template<typename _CharT>
6 class basic_string_view
7 {
8 public:
9 basic_string_view(const _CharT* __str) noexcept
10 {}
11 bool
12 empty() const noexcept
13 { return !_M_len; }
14
15 private:
16 unsigned _M_len;
17 };
18
19 using string_view = basic_string_view<char>;
20