source: src/tests/declarationSpecifier.c @ 74358c3

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 74358c3 was e757af2, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

renamed all tests to lower-case leading character

  • Property mode set to 100644
File size: 3.5 KB
Line 
1typedef short int Int;
2
3
4const short int volatile x1;
5static const short int volatile x2;
6const static short int volatile x3;
7const short static int volatile x4;
8const static volatile short int x4;
9const short int static volatile x5;
10const short int volatile static x6;
11const short volatile int static x7;
12short int volatile static const x8;
13static short int volatile static const x9;              // duplicate static
14
15const volatile struct { int i; } x10;
16const struct { int i; } volatile x11;
17struct { int i; } const volatile x12;
18static const volatile struct { int i; } x13;
19const static struct { int i; } volatile x14;
20struct { int i; } static const volatile x15;
21struct { int i; } const static volatile x16;
22struct { int i; } const volatile static x17;
23struct { int i; } const static volatile static x18;     // duplicate static
24struct { int i; } const static volatile static volatile x19; // duplicate static & volatile
25
26const Int volatile x20;
27static const Int volatile x21;
28const static Int volatile x22;
29const static Int volatile x23;
30const Int static volatile x24;
31const Int volatile static x25;
32const volatile Int static x26;
33Int volatile static const x27;
34static Int volatile static const x28;                   // duplicate static
35
36const volatile struct { Int i; } x29;
37const struct { Int i; } volatile x30;
38struct { Int i; } const volatile x31;
39static const volatile struct { Int i; } x32;
40const static struct { Int i; } volatile x33;
41struct { Int i; } static const volatile x34;
42struct { Int i; } const static volatile x35;
43struct { Int i; } const volatile static x36;
44
45
46const static inline const volatile int f01();           // duplicate const
47volatile inline const volatile static int f02();        // duplicate volatile
48const inline const volatile int static f03();           // duplicate const
49volatile inline static const volatile int f04();        // duplicate volatile
50const static const inline volatile int f05();           // duplicate const
51volatile static const volatile inline int f06();        // duplicate volatile
52const static const volatile int inline f07();           // duplicate const
53volatile static const int inline volatile f08();        // duplicate volatile
54
55static inline const volatile int f11();
56inline const volatile static int f12();
57inline const volatile int static f13();
58inline static const volatile int f14();
59static const inline volatile int f15();
60static const volatile inline int f16();
61static const volatile int inline f17();
62static const int inline volatile f18();
63
64short static inline const volatile int f21();
65inline short const volatile static int f22();
66inline const short volatile int static f23();
67inline static const short volatile int f24();
68static const inline volatile short int f25();
69static const volatile inline int short f26();
70static const volatile int inline short f27();
71static const int inline volatile short f28();
72
73static inline const volatile struct { int i; } f31();
74inline const volatile static struct { int i; } f32();
75inline const volatile struct { int i; } static f33();
76inline static const volatile struct { int i; } f34();
77static const inline volatile struct { int i; } f35();
78static const volatile inline struct { int i; } f36();
79static const volatile struct { int i; } inline f37();
80static const struct { int i; } inline volatile f38();
81
82static inline const volatile Int f41();
83inline const volatile static Int f42();
84inline const volatile Int static f43();
85inline static const volatile Int f44();
86static const inline volatile Int f45();
87static const volatile inline Int f46();
88static const volatile Int inline f47();
89static const Int inline volatile f48();
90
91//Dummy main
92int main(int argc, char const *argv[])
93{
94        return 0;
95}
Note: See TracBrowser for help on using the repository browser.