☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
class-9_c.C
☽
☼
gcc/testsuite/g++.dg/modules/class-9_c.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts -fmodule-lazy" }
2
3
import "class-9_a.H";
4
import "class-9_b.H";
5
6
int main() {
7
// Lazy loading should still find the definitions of A and B.
8
int a = foo()->a;
9
int b = bar<int>()->b;
10
}