Debian Codegraph @

gcc/testsuite/g++.dg/modules/decomp-1_a.C

raw
1 // { dg-additional-options "-fmodules-ts -std=c++2a" }
2 export module foo;
3 // { dg-module-cmi foo }
4
5 struct tuple { int a, b, c;};
6
7 tuple maker ();
8
9 export inline int bob ()
10 {
11 auto [a, b, c] = maker ();
12
13 return a + b + c;
14 }