source: src/tests/declarationErrors.c@ efd6e4a5

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since efd6e4a5 was c1c1112, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

fix segment fault when printing syntax error, more refactoring of parser code

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