source: src/tests/declarationErrors.c @ 5ead9f9

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 5ead9f9 was 5ead9f9, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

add copyright notice to test files

  • Property mode set to 100644
File size: 1.5 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// declarationErrors.c --
8//
9// Author           : Peter A. Buhr
10// Created On       : Wed Aug 17 08:23:43 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Wed Aug 17 08:27:15 2016
13// Update Count     : 2
14//
15
16const short static int volatile x4;
17const static volatile short int x4;
18static short int volatile static const x9;                              // duplicate static
19struct { int i; } const static volatile static x18;             // duplicate static
20struct { int i; } const static volatile static volatile x19; // duplicate static & volatile
21typedef int Int;
22static Int volatile static const x28;                                   // duplicate static
23
24const static inline const volatile int f01();                   // duplicate const
25volatile inline const volatile static int f02();                // duplicate volatile
26const inline const volatile int static f03();                   // duplicate const
27volatile inline static const volatile int f04();                // duplicate volatile
28const static const inline volatile int f05();                   // duplicate const
29volatile static const volatile inline int f06();                // duplicate volatile
30const static const volatile int inline f07();                   // duplicate const
31volatile static const int inline volatile f08();                // duplicate volatile
32
33//Dummy main
34int main(int argc, char const *argv[])
35{
36        return 0;
37}
38
39// Local Variables: //
40// tab-width: 4 //
41// compile-command: "cfa declarationErrors.c" //
42// End: //
Note: See TracBrowser for help on using the repository browser.