Changeset cb8a18c
- Timestamp:
- Feb 11, 2020, 3:04:23 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- dda3e2a
- Parents:
- 98538288
- Location:
- tests/errors
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/errors/.expect/completeType.txt
r98538288 rcb8a18c 1 completeTypeError.cfa:34:1 error: Cannot choose between 2 alternatives for expression1 errors/completeType.cfa:34:1 error: Cannot choose between 2 alternatives for expression 2 2 Generated Cast of: 3 3 Applying untyped: … … 54 54 55 55 56 completeTypeError.cfa:35:1 error: No reasonable alternatives for expression Applying untyped:56 errors/completeType.cfa:35:1 error: No reasonable alternatives for expression Applying untyped: 57 57 Name: foo 58 58 ...to: 59 59 Name: v 60 60 61 completeTypeError.cfa:36:1 error: No reasonable alternatives for expression Applying untyped:61 errors/completeType.cfa:36:1 error: No reasonable alternatives for expression Applying untyped: 62 62 Name: baz 63 63 ...to: 64 64 Name: v 65 65 66 completeTypeError.cfa:37:1 error: No reasonable alternatives for expression Applying untyped:66 errors/completeType.cfa:37:1 error: No reasonable alternatives for expression Applying untyped: 67 67 Name: quux 68 68 ...to: 69 69 Name: v 70 70 71 completeTypeError.cfa:59:1 error: No reasonable alternatives for expression Applying untyped:71 errors/completeType.cfa:59:1 error: No reasonable alternatives for expression Applying untyped: 72 72 Name: baz 73 73 ...to: 74 74 Name: y 75 75 76 completeTypeError.cfa:60:1 error: No reasonable alternatives for expression Applying untyped:76 errors/completeType.cfa:60:1 error: No reasonable alternatives for expression Applying untyped: 77 77 Name: quux 78 78 ...to: 79 79 Name: y 80 80 81 completeTypeError.cfa:72:1 error: No alternatives with satisfiable assertions for Applying untyped:81 errors/completeType.cfa:72:1 error: No alternatives with satisfiable assertions for Applying untyped: 82 82 Name: baz 83 83 ...to: -
tests/errors/.expect/declaration.txt
r98538288 rcb8a18c 1 declarationErrors.cfa:16:1 error: duplicate static in declaration of x1: static const volatile short int1 errors/declaration.cfa:16:1 error: duplicate static in declaration of x1: static const volatile short int 2 2 3 declarationErrors.cfa:17:1 error: conflicting extern & static in declaration of x2: extern const volatile short int3 errors/declaration.cfa:17:1 error: conflicting extern & static in declaration of x2: extern const volatile short int 4 4 5 declarationErrors.cfa:18:1 error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int5 errors/declaration.cfa:18:1 error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int 6 6 7 declarationErrors.cfa:19:1 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous07 errors/declaration.cfa:19:1 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0 8 8 with members 9 9 i: int … … 11 11 12 12 13 declarationErrors.cfa:20:1 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous113 errors/declaration.cfa:20:1 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1 14 14 with members 15 15 i: int … … 17 17 18 18 19 declarationErrors.cfa:22:1 error: duplicate static in declaration of x6: static const volatile Int19 errors/declaration.cfa:22:1 error: duplicate static in declaration of x6: static const volatile Int 20 20 21 declarationErrors.cfa:24:1 error: duplicate const in declaration of f01: static inline function21 errors/declaration.cfa:24:1 error: duplicate const in declaration of f01: static inline function 22 22 with no parameters 23 23 returning const volatile int 24 24 25 25 26 declarationErrors.cfa:25:1 error: duplicate volatile in declaration of f02: static inline function26 errors/declaration.cfa:25:1 error: duplicate volatile in declaration of f02: static inline function 27 27 with no parameters 28 28 returning const volatile int 29 29 30 30 31 declarationErrors.cfa:26:1 error: duplicate const in declaration of f03: static inline function31 errors/declaration.cfa:26:1 error: duplicate const in declaration of f03: static inline function 32 32 with no parameters 33 33 returning const volatile int 34 34 35 35 36 declarationErrors.cfa:27:1 error: duplicate volatile in declaration of f04: static inline function36 errors/declaration.cfa:27:1 error: duplicate volatile in declaration of f04: static inline function 37 37 with no parameters 38 38 returning const volatile int 39 39 40 40 41 declarationErrors.cfa:28:1 error: duplicate const in declaration of f05: static inline function41 errors/declaration.cfa:28:1 error: duplicate const in declaration of f05: static inline function 42 42 with no parameters 43 43 returning const volatile int 44 44 45 45 46 declarationErrors.cfa:29:1 error: duplicate volatile in declaration of f06: static inline function46 errors/declaration.cfa:29:1 error: duplicate volatile in declaration of f06: static inline function 47 47 with no parameters 48 48 returning const volatile int 49 49 50 50 51 declarationErrors.cfa:30:1 error: duplicate const in declaration of f07: static inline function51 errors/declaration.cfa:30:1 error: duplicate const in declaration of f07: static inline function 52 52 with no parameters 53 53 returning const volatile int 54 54 55 55 56 declarationErrors.cfa:31:1 error: duplicate const, duplicate volatile in declaration of f08: static inline function56 errors/declaration.cfa:31:1 error: duplicate const, duplicate volatile in declaration of f08: static inline function 57 57 with no parameters 58 58 returning const volatile int 59 59 60 60 61 declarationErrors.cfa:33:1 error: duplicate const, duplicate volatile in declaration of f09: static inline function61 errors/declaration.cfa:33:1 error: duplicate const, duplicate volatile in declaration of f09: static inline function 62 62 with no parameters 63 63 returning const volatile int 64 64 65 65 66 declarationErrors.cfa:34:1 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function66 errors/declaration.cfa:34:1 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function 67 67 with no parameters 68 68 returning const restrict volatile _Atomic int -
tests/errors/.expect/scope.txt
r98538288 rcb8a18c 1 scopeErrors.cfa:2:1 error: duplicate object definition for thisIsAnError: signed int2 scopeErrors.cfa:20:1 error: duplicate function definition for butThisIsAnError: function1 errors/scope.cfa:2:1 error: duplicate object definition for thisIsAnError: signed int 2 errors/scope.cfa:20:1 error: duplicate function definition for butThisIsAnError: function 3 3 ... with parameters 4 4 double -
tests/errors/.expect/signature.txt
r98538288 rcb8a18c 1 errors/signature.cfa:2:1 error: Constructor has invalid parameter list (cannot be void/empty)2 errors/signature.cfa:3:1 error: Destructor has invalid parameter list (cannot be void/empty)3 errors/signature.cfa:4:1 error: Assignment has invalid parameter list (cannot be void/empty)4 errors/signature.cfa:5:1 error: Cannot declare a Constructor for type Void5 errors/signature.cfa:6:1 error: Cannot declare a Destructor for type Void6 errors/signature.cfa:7:1 error: Cannot declare a Assignment for type Void7 errors/signature.cfa:10:1 error: Constructor must have a reference to a type as its first parameter8 errors/signature.cfa:11:1 error: Destructor must have a reference to a type as its first parameter9 errors/signature.cfa:12:1 error: Assignment must have a reference to a type as its first parameter1 errors/signature.cfa:2:1 error: Constructors, destructors, and assignment functions require at least one parameter. 2 errors/signature.cfa:3:1 error: Constructors, destructors, and assignment functions require at least one parameter. 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. 7 errors/signature.cfa:10:1 error: First parameter of a constructor, destructor, or assignment function must be a reference. 8 errors/signature.cfa:11:1 error: First parameter of a constructor, destructor, or assignment function must be a reference. 9 errors/signature.cfa:12:1 error: First parameter of a constructor, destructor, or assignment function must be a reference. -
tests/errors/signature.cfa
r98538288 rcb8a18c 11 11 void ^?{}(int); 12 12 void ?=?(int); 13 void ?{}(int *); 14 void ^?{}(int *); 15 void ?=?(int *);
Note: See TracChangeset
for help on using the changeset viewer.