[db19e1d] | 1 | // |
---|
[5ead9f9] | 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. |
---|
[db19e1d] | 6 | // |
---|
| 7 | // declarationErrors.cfa -- |
---|
| 8 | // |
---|
[5ead9f9] | 9 | // Author : Peter A. Buhr |
---|
| 10 | // Created On : Wed Aug 17 08:23:43 2016 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
[dc8511c] | 12 | // Last Modified On : Tue Nov 6 17:52:47 2018 |
---|
| 13 | // Update Count : 32 |
---|
[db19e1d] | 14 | // |
---|
[5ead9f9] | 15 | |
---|
[7d05e7e] | 16 | static short int volatile static const x1; // duplicate static |
---|
| 17 | extern short int static volatile const x2; // multiple extern & static |
---|
| 18 | extern short int auto static volatile static extern const x3; // duplicate and multiple storage classes |
---|
| 19 | struct { int i; } const static volatile static x4; // duplicate static |
---|
| 20 | struct { int i; } const static volatile const static volatile x5; // duplicate static & const & volatile |
---|
[62edde5] | 21 | typedef int Int; |
---|
[7d05e7e] | 22 | static Int volatile static const x6; // duplicate static |
---|
[62edde5] | 23 | |
---|
[5ead9f9] | 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 |
---|
[7d05e7e] | 28 | const static int const inline volatile f05(); // duplicate const |
---|
| 29 | volatile int static const volatile inline f06(); // duplicate volatile |
---|
| 30 | const static const int volatile inline f07(); // duplicate const |
---|
| 31 | volatile static const int inline const volatile f08(); // duplicate volatile |
---|
[c1c1112] | 32 | |
---|
[7d05e7e] | 33 | volatile static const int inline const volatile f09(); // duplicate volatile |
---|
| 34 | _Atomic _Atomic _Atomic volatile restrict static const const int inline restrict const volatile f09(); // duplicate volatile |
---|
[950f7a7] | 35 | |
---|
[62edde5] | 36 | //Dummy main |
---|
| 37 | int main(int argc, char const *argv[]) |
---|
| 38 | { |
---|
| 39 | return 0; |
---|
| 40 | } |
---|
[5ead9f9] | 41 | |
---|
| 42 | // Local Variables: // |
---|
| 43 | // tab-width: 4 // |
---|
[dc8511c] | 44 | // compile-command: "cfa declarationErrors.cfa" // |
---|
[5ead9f9] | 45 | // End: // |
---|