☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
linkage-1_a.C
☽
☼
gcc/testsuite/g++.dg/modules/linkage-1_a.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts -Wno-error=c++20-extensions" }
2
// { dg-module-cmi M }
3
4
export module M;
5
6
auto f() {
7
struct A {};
8
return A{};
9
}
10
decltype(f()) g(); // { dg-warning "used but not defined" "" { target c++17_down } }
11
export auto x = g();