Debian Codegraph @

gcc/testsuite/g++.dg/modules/cexpr-5_a.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // { dg-module-cmi M }
3
4 export module M;
5
6 int x = 123;
7 void f() {}
8
9 int& xr = x;
10 auto& fr = f;
11
12 constexpr int& cxr = xr;
13 constexpr auto& cfr = fr;