source: translator/Tests/Syntax/DeclarationSpecifier.c @ a08ba92

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since a08ba92 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 3.6 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;
13
14const volatile struct { int i; } x10;
15const struct { int i; } volatile x11;
16struct { int i; } const volatile x12;
17static const volatile struct { int i; } x13;
18const static struct { int i; } volatile x14;
19struct { int i; } static const volatile x15;
20struct { int i; } const static volatile x16;
21struct { int i; } const volatile static x17;
22
23const Int volatile x20;
24static const Int volatile x21;
25const static Int volatile x22;
26const static Int volatile x23;
27const Int static volatile x24;
28const Int volatile static x25;
29const volatile Int static x26;
30Int volatile static const x27;
31
32const volatile struct { Int i; } x29;
33const struct { Int i; } volatile x30;
34struct { Int i; } const volatile x31;
35static const volatile struct { Int i; } x32;
36const static struct { Int i; } volatile x33;
37struct { Int i; } static const volatile x34;
38struct { Int i; } const static volatile x35;
39struct { Int i; } const volatile static x36;
40
41
42const static inline const volatile int f01();           // duplicate const
43volatile inline const volatile static int f02();        // duplicate volatile
44const inline const volatile int static f03();           // duplicate const
45volatile inline static const volatile int f04();        // duplicate volatile
46const static const inline volatile int f05();           // duplicate const
47volatile static const volatile inline int f06();        // duplicate volatile
48const static const volatile int inline f07();           // duplicate const
49volatile static const int inline volatile f08();        // duplicate volatile
50
51static inline const volatile int f11();
52inline const volatile static int f12();
53inline const volatile int static f13();
54inline static const volatile int f14();
55static const inline volatile int f15();
56static const volatile inline int f16();
57static const volatile int inline f17();
58static const int inline volatile f18();
59
60short static inline const volatile int f21();
61inline short const volatile static int f22();
62inline const short volatile int static f23();
63inline static const short volatile int f24();
64static const inline volatile short int f25();
65static const volatile inline int short f26();
66static const volatile int inline short f27();
67static const int inline volatile short f28();
68
69static inline const volatile struct { int i; } f31();
70inline const volatile static struct { int i; } f32();
71inline const volatile struct { int i; } static f33();
72inline static const volatile struct { int i; } f34();
73static const inline volatile struct { int i; } f35();
74static const volatile inline struct { int i; } f36();
75static const volatile struct { int i; } inline f37();
76static const struct { int i; } inline volatile f38();
77
78static inline const volatile Int f41();
79inline const volatile static Int f42();
80inline const volatile Int static f43();
81inline static const volatile Int f44();
82static const inline volatile Int f45();
83static const volatile inline Int f46();
84static const volatile Int inline f47();
85static const Int inline volatile f48();
86
87long long ll;
88long long int lli;
89double _Complex dc;
90long double _Complex lfc;
91
92// errors
93
94//static short int volatile static const e1;            // duplicate static
95//struct { int i; } const static volatile static e2;    // duplicate static
96//struct { int i; } const static volatile static volatile e3; // duplicate static & volatile
97//static Int volatile static const e4;                  // duplicate static
Note: See TracBrowser for help on using the repository browser.