Debian Codegraph @

gcc/testsuite/g++.dg/modules/lto-2_a.H

raw
1 // PR c++/118961
2 // { dg-additional-options "-fmodule-header -std=c++20" }
3 // { dg-module-cmi {} }
4 // Test we correctly emit the bodies of cloned constructors.
5
6 template <typename>
7 struct S {
8 S() requires true {}
9 };
10
11 inline S<int> foo() { return {}; }