xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/test/uda.d (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1*181254a7Smrg /**
2*181254a7Smrg For testing only.
3*181254a7Smrg Provides a struct with UDA's defined in an external module.
4*181254a7Smrg Useful for validating behavior with member privacy.
5*181254a7Smrg */
6*181254a7Smrg module std.internal.test.uda;
7*181254a7Smrg 
8*181254a7Smrg enum Attr;
9*181254a7Smrg 
10*181254a7Smrg struct HasPrivateMembers
11*181254a7Smrg {
12*181254a7Smrg   @Attr int a;
13*181254a7Smrg   int b;
14*181254a7Smrg   @Attr private int c;
15*181254a7Smrg   private int d;
16*181254a7Smrg }
17