Debian Codegraph @

gcc/testsuite/g++.dg/modules/gnu-inline-2_b.C

raw
1 // PR c++/119154
2 // { dg-additional-options "-fmodules" }
3
4 template <typename> struct char_traits {
5 void assign();
6 };
7
8 void foo(char_traits<wchar_t> s) {
9 s.assign();
10 }
11
12 import xstd;
13
14 // Lazy loading at EOF of a gnu_inline declaration should not ICE.