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