source: tests/declarationSpecifier.cfa @ 3ac5fd8

Last change on this file since 3ac5fd8 was aca0d2f, checked in by Peter A. Buhr <pabuhr@…>, 22 months ago

make anonymous struct declaration static

  • Property mode set to 100644
File size: 3.2 KB
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// declarationSpecifier.cfa --
8//
9// Author           : Peter A. Buhr
10// Created On       : Wed Aug 17 08:21:04 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Thu Feb 23 20:53:31 2023
13// Update Count     : 8
14//
15
16typedef short int Int;
17
18const short int volatile x1;
19static const short int volatile x2;
20const static short int volatile x3;
21const static volatile short int x4;
22const short int static volatile x5;
23const short int volatile static x6;
24const short volatile int static x7;
25short int volatile static const x8;
26
27static const volatile struct { int i; } x10;
28static const struct { int i; } volatile x11;
29static struct { int i; } const volatile x12;
30const static struct { int i; } volatile x13;
31struct { int i; } static const volatile x14;
32struct { int i; } const static volatile x15;
33struct { int i; } const volatile static x16;
34
35const Int volatile x20;
36static const Int volatile x21;
37const static Int volatile x22;
38const static Int volatile x23;
39const Int static volatile x24;
40const Int volatile static x25;
41const volatile Int static x26;
42Int volatile static const x27;
43
44static const volatile struct { Int i; } x29;
45static const struct { Int i; } volatile x30;
46static struct { Int i; } const volatile x31;
47const static struct { Int i; } volatile x32;
48struct { Int i; } static const volatile x33;
49struct { Int i; } const static volatile x34;
50struct { Int i; } const volatile static x35;
51
52_Thread_local int x37;
53__thread int x38;
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// Local Variables: //
95// tab-width: 4 //
96// compile-command: "cfa declarationSpecifier.cfa" //
97// End: //
Note: See TracBrowser for help on using the repository browser.