source: tests/declarationSpecifier.cfa @ b797d978

ADTast-experimental
Last change on this file since b797d978 was 64af7ac, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Added thread and _Thread_local to some tests.

  • 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 : Tue Apr 30 18:20:36 2019
13// Update Count     : 4
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
27const volatile struct { int i; } x10;
28const struct { int i; } volatile x11;
29struct { int i; } const volatile x12;
30static const volatile struct { int i; } x13;
31const static struct { int i; } volatile x14;
32struct { int i; } static const volatile x15;
33struct { int i; } const static volatile x16;
34struct { int i; } const volatile static x17;
35
36const Int volatile x20;
37static const Int volatile x21;
38const static Int volatile x22;
39const static Int volatile x23;
40const Int static volatile x24;
41const Int volatile static x25;
42const volatile Int static x26;
43Int volatile static const x27;
44
45const volatile struct { Int i; } x29;
46const struct { Int i; } volatile x30;
47struct { Int i; } const volatile x31;
48static const volatile struct { Int i; } x32;
49const static struct { Int i; } volatile x33;
50struct { Int i; } static const volatile x34;
51struct { Int i; } const static volatile x35;
52struct { Int i; } const volatile static x36;
53
54_Thread_local int x37;
55__thread int x38;
56
57static inline const volatile int f11();
58inline const volatile static int f12();
59inline const volatile int static f13();
60inline static const volatile int f14();
61static const inline volatile int f15();
62static const volatile inline int f16();
63static const volatile int inline f17();
64static const int inline volatile f18();
65
66short static inline const volatile int f21();
67inline short const volatile static int f22();
68inline const short volatile int static f23();
69inline static const short volatile int f24();
70static const inline volatile short int f25();
71static const volatile inline int short f26();
72static const volatile int inline short f27();
73static const int inline volatile short f28();
74
75static inline const volatile struct { int i; } f31();
76inline const volatile static struct { int i; } f32();
77inline const volatile struct { int i; } static f33();
78inline static const volatile struct { int i; } f34();
79static const inline volatile struct { int i; } f35();
80static const volatile inline struct { int i; } f36();
81static const volatile struct { int i; } inline f37();
82static const struct { int i; } inline volatile f38();
83
84static inline const volatile Int f41();
85inline const volatile static Int f42();
86inline const volatile Int static f43();
87inline static const volatile Int f44();
88static const inline volatile Int f45();
89static const volatile inline Int f46();
90static const volatile Int inline f47();
91static const Int inline volatile f48();
92
93//Dummy main
94int main( int argc, char const * argv[] ) {}
95
96// Local Variables: //
97// tab-width: 4 //
98// compile-command: "cfa declarationSpecifier.cfa" //
99// End: //
Note: See TracBrowser for help on using the repository browser.