Changeset db19e1d for tests/errors
- Timestamp:
- Sep 3, 2024, 12:08:09 PM (8 days ago)
- Branches:
- master
- Children:
- 737bf73
- Parents:
- cdbb909
- Location:
- tests/errors
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/errors/.expect/declaration.txt
rcdbb909 rdb19e1d 20 20 21 21 errors/declaration.cfa:24:1 error: duplicate const qualifier(s) in declaration of f01: static inline function 22 with no parameters 22 with parameters 23 void 23 24 returning const volatile int 24 25 25 26 26 27 errors/declaration.cfa:25:1 error: duplicate volatile qualifier(s) in declaration of f02: static inline function 27 with no parameters 28 with parameters 29 void 28 30 returning const volatile int 29 31 30 32 31 33 errors/declaration.cfa:26:1 error: duplicate const qualifier(s) in declaration of f03: static inline function 32 with no parameters 34 with parameters 35 void 33 36 returning const volatile int 34 37 35 38 36 39 errors/declaration.cfa:27:1 error: duplicate volatile qualifier(s) in declaration of f04: static inline function 37 with no parameters 40 with parameters 41 void 38 42 returning const volatile int 39 43 40 44 41 45 errors/declaration.cfa:28:1 error: duplicate const qualifier(s) in declaration of f05: static inline function 42 with no parameters 46 with parameters 47 void 43 48 returning const volatile int 44 49 45 50 46 51 errors/declaration.cfa:29:1 error: duplicate volatile qualifier(s) in declaration of f06: static inline function 47 with no parameters 52 with parameters 53 void 48 54 returning const volatile int 49 55 50 56 51 57 errors/declaration.cfa:30:1 error: duplicate const qualifier(s) in declaration of f07: static inline function 52 with no parameters 58 with parameters 59 void 53 60 returning const volatile int 54 61 55 62 56 63 errors/declaration.cfa:31:1 error: duplicate const volatile qualifier(s) in declaration of f08: static inline function 57 with no parameters 64 with parameters 65 void 58 66 returning const volatile int 59 67 60 68 61 69 errors/declaration.cfa:33:1 error: duplicate const volatile qualifier(s) in declaration of f09: static inline function 62 with no parameters 70 with parameters 71 void 63 72 returning const volatile int 64 73 65 74 66 75 errors/declaration.cfa:34:1 error: duplicate const qualifier(s), duplicate _Atomic qualifier(s), duplicate _Atomic qualifier(s), duplicate const restrict volatile qualifier(s) in declaration of f09: static inline function 67 with no parameters 76 with parameters 77 void 68 78 returning const restrict volatile _Atomic int 69 79 -
tests/errors/.expect/signature.txt
rcdbb909 rdb19e1d 2 2 errors/signature.cfa:3:1 error: Constructors, destructors, and assignment functions require at least one parameter. 3 3 errors/signature.cfa:4:1 error: Constructors, destructors, and assignment functions require at least one parameter. 4 errors/signature.cfa:5:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.5 errors/signature.cfa:6:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.6 errors/signature.cfa:7:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.4 errors/signature.cfa:5:1 error: Constructors, destructors, and assignment functions require at least one parameter. 5 errors/signature.cfa:6:1 error: Constructors, destructors, and assignment functions require at least one parameter. 6 errors/signature.cfa:7:1 error: Constructors, destructors, and assignment functions require at least one parameter. 7 7 errors/signature.cfa:10:1 error: First parameter of a constructor, destructor, or assignment function must be a reference. 8 8 errors/signature.cfa:11:1 error: First parameter of a constructor, destructor, or assignment function must be a reference. -
tests/errors/declaration.cfa
rcdbb909 rdb19e1d 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // declarationErrors.cfa -- 8 // 6 // 7 // declarationErrors.cfa -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed Aug 17 08:23:43 2016 … … 12 12 // Last Modified On : Tue Nov 6 17:52:47 2018 13 13 // Update Count : 32 14 // 14 // 15 15 16 16 static short int volatile static const x1; // duplicate static
Note: See TracChangeset
for help on using the changeset viewer.