- File:
-
- 1 edited
-
src/tests/declarationSpecifier.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/declarationSpecifier.c
re757af2 r5ead9f9 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.c -- 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 : Wed Aug 17 08:24:33 2016 13 // Update Count : 2 14 // 15 1 16 typedef short int Int; 2 3 17 4 18 const short int volatile x1; 5 19 static const short int volatile x2; 6 20 const static short int volatile x3; 7 const short static int volatile x4;8 21 const static volatile short int x4; 9 22 const short int static volatile x5; … … 11 24 const short volatile int static x7; 12 25 short int volatile static const x8; 13 static short int volatile static const x9; // duplicate static14 26 15 27 const volatile struct { int i; } x10; … … 21 33 struct { int i; } const static volatile x16; 22 34 struct { int i; } const volatile static x17; 23 struct { int i; } const static volatile static x18; // duplicate static24 struct { int i; } const static volatile static volatile x19; // duplicate static & volatile25 35 26 36 const Int volatile x20; … … 32 42 const volatile Int static x26; 33 43 Int volatile static const x27; 34 static Int volatile static const x28; // duplicate static35 44 36 45 const volatile struct { Int i; } x29; … … 42 51 struct { Int i; } const static volatile x35; 43 52 struct { Int i; } const volatile static x36; 44 45 46 const static inline const volatile int f01(); // duplicate const47 volatile inline const volatile static int f02(); // duplicate volatile48 const inline const volatile int static f03(); // duplicate const49 volatile inline static const volatile int f04(); // duplicate volatile50 const static const inline volatile int f05(); // duplicate const51 volatile static const volatile inline int f06(); // duplicate volatile52 const static const volatile int inline f07(); // duplicate const53 volatile static const int inline volatile f08(); // duplicate volatile54 53 55 54 static inline const volatile int f11(); … … 94 93 return 0; 95 94 } 95 96 // Local Variables: // 97 // tab-width: 4 // 98 // compile-command: "cfa declarationSpecifier.c" // 99 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.