Changeset 4a7d895 for src/tests/declarationErrors.c
- Timestamp:
- Aug 20, 2016, 5:33:07 AM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 80722d0
- Parents:
- 7b1bfc5 (diff), 2037f82 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/declarationErrors.c
r7b1bfc5 r4a7d895 1 static short int volatile static const x9; // duplicate static 2 struct { int i; } const static volatile static x18; // duplicate static 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 16 const short static int volatile x4; 17 const static volatile short int x4; 18 static short int volatile static const x9; // duplicate static 19 struct { int i; } const static volatile static x18; // duplicate static 3 20 struct { int i; } const static volatile static volatile x19; // duplicate static & volatile 4 21 typedef int Int; 5 static Int volatile static const x28; // duplicate static 22 static Int volatile static const x28; // duplicate static 23 24 const static inline const volatile int f01(); // duplicate const 25 volatile inline const volatile static int f02(); // duplicate volatile 26 const inline const volatile int static f03(); // duplicate const 27 volatile inline static const volatile int f04(); // duplicate volatile 28 const static const inline volatile int f05(); // duplicate const 29 volatile static const volatile inline int f06(); // duplicate volatile 30 const static const volatile int inline f07(); // duplicate const 31 volatile static const int inline volatile f08(); // duplicate volatile 6 32 7 33 //Dummy main … … 10 36 return 0; 11 37 } 38 39 // Local Variables: // 40 // tab-width: 4 // 41 // compile-command: "cfa declarationErrors.c" // 42 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.