Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
class-9_c.C
blob: de34efdae0b43b1bee43b4b9eea4ae57668d21f3 [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts -fmodule-lazy" }
import
"class-9_a.H"
;
import
"class-9_b.H"
;
int
main
()
{
// Lazy loading should still find the definitions of A and B.
int
a
=
foo
()->
a
;
int
b
=
bar
<int>
()->
b
;
}