- File:
-
- 1 edited
-
src/tests/declarationSpecifier.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/declarationSpecifier.c
r5ead9f9 re757af2 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 // 1 typedef short int Int; 15 2 16 typedef short int Int;17 3 18 4 const short int volatile x1; 19 5 static const short int volatile x2; 20 6 const static short int volatile x3; 7 const short static int volatile x4; 21 8 const static volatile short int x4; 22 9 const short int static volatile x5; … … 24 11 const short volatile int static x7; 25 12 short int volatile static const x8; 13 static short int volatile static const x9; // duplicate static 26 14 27 15 const volatile struct { int i; } x10; … … 33 21 struct { int i; } const static volatile x16; 34 22 struct { int i; } const volatile static x17; 23 struct { int i; } const static volatile static x18; // duplicate static 24 struct { int i; } const static volatile static volatile x19; // duplicate static & volatile 35 25 36 26 const Int volatile x20; … … 42 32 const volatile Int static x26; 43 33 Int volatile static const x27; 34 static Int volatile static const x28; // duplicate static 44 35 45 36 const volatile struct { Int i; } x29; … … 51 42 struct { Int i; } const static volatile x35; 52 43 struct { Int i; } const volatile static x36; 44 45 46 const static inline const volatile int f01(); // duplicate const 47 volatile inline const volatile static int f02(); // duplicate volatile 48 const inline const volatile int static f03(); // duplicate const 49 volatile inline static const volatile int f04(); // duplicate volatile 50 const static const inline volatile int f05(); // duplicate const 51 volatile static const volatile inline int f06(); // duplicate volatile 52 const static const volatile int inline f07(); // duplicate const 53 volatile static const int inline volatile f08(); // duplicate volatile 53 54 54 55 static inline const volatile int f11(); … … 93 94 return 0; 94 95 } 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.