☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
warn-spec-1_a.C
☽
☼
gcc/testsuite/g++.dg/modules/warn-spec-1_a.C
code
plain
raw
1
// PR c++/115757
2
// { dg-additional-options "-fmodules-ts -Wunused" }
3
// { dg-module-cmi test }
4
5
export module test;
6
7
export template <typename T>
8
void foo(T n [[maybe_unused]]) {
9
int x [[maybe_unused]];
10
}