Debian Codegraph @

gcc/testsuite/g++.dg/modules/friend-5_b.C

raw
1 // { dg-additional-options -fmodules-ts }
2 // From Andrew Sutton
3
4 export module bar;
5 import foo;
6
7 class B { // { dg-error "conflicts with import" }
8 B() { object.value = 42; }
9 A object;
10 };