☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
enum-1_b.C
☽
☼
gcc/testsuite/g++.dg/modules/enum-1_b.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
import enUm;
3
4
Bill x = Three;
5
Ben y = Ben::Three;
6
7
int main ()
8
{
9
if (x != 3)
10
return 1;
11
12
if (int (y) != 3)
13
return 2;
14
15
if (int (func1 ()) != 3)
16
return 3;
17
18
if (int (func2 ()) != 4)
19
return 4;
20
21
return 0;
22
}