Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
lambda-1_b.C
blob: af21349215395329242aa7228fad97a16e6b37b4 [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts" }
import
tom
.
riddle
;
int
main
()
{
auto
one
=
One
(
2
);
if
(
one
(
1
)
!=
3
)
return
1
;
auto
two
=
Two
(
3
);
if
(
two
(
2
)
!=
6
)
return
2
;
return
0
;
}