xref: /aosp_15_r20/external/stg/test_cases/info_tests/namespace/simple.cc (revision 9e3b08ae94a55201065475453d799e8b1378bea6)
1 namespace foo {
2 int x1;
3 
4 int x2[5];
5 
6 extern const int x3 = 5;
7 
8 typedef int type_definition;
9 type_definition x4;
10 
x5()11 int x5() {
12   return 0;
13 }
14 
15 struct S {
16   int x;
17 } x6;
18 
19 union U {
20   int x;
21 } x7;
22 
23 enum class E { X, Y } x8;
24 
25 }  // namespace foo
26