☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
cexpr-4_a.C
☽
☼
gcc/testsuite/g++.dg/modules/cexpr-4_a.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
export module Cexpr4;
3
// { dg-module-cmi "Cexpr4" }
4
5
struct A { int m = 42; };
6
7
constexpr A a;
8
9
export
10
inline int f() { return a.m; }