☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
lambda-1_b.C
☽
☼
gcc/testsuite/g++.dg/modules/lambda-1_b.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
import tom.riddle;
3
4
int main ()
5
{
6
auto one = One (2);
7
8
if (one (1) != 3)
9
return 1;
10
11
auto two = Two (3);
12
if (two (2) != 6)
13
return 2;
14
15
return 0;
16
}