Changeset cb8a18c


Ignore:
Timestamp:
Feb 11, 2020, 3:04:23 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
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
Message:

Fixed error expect after the move

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 expression
     1errors/completeType.cfa:34:1 error: Cannot choose between 2 alternatives for expression
    22Generated Cast of:
    33  Applying untyped:
     
    5454
    5555
    56 completeTypeError.cfa:35:1 error: No reasonable alternatives for expression Applying untyped:
     56errors/completeType.cfa:35:1 error: No reasonable alternatives for expression Applying untyped:
    5757  Name: foo
    5858...to:
    5959  Name: v
    6060
    61 completeTypeError.cfa:36:1 error: No reasonable alternatives for expression Applying untyped:
     61errors/completeType.cfa:36:1 error: No reasonable alternatives for expression Applying untyped:
    6262  Name: baz
    6363...to:
    6464  Name: v
    6565
    66 completeTypeError.cfa:37:1 error: No reasonable alternatives for expression Applying untyped:
     66errors/completeType.cfa:37:1 error: No reasonable alternatives for expression Applying untyped:
    6767  Name: quux
    6868...to:
    6969  Name: v
    7070
    71 completeTypeError.cfa:59:1 error: No reasonable alternatives for expression Applying untyped:
     71errors/completeType.cfa:59:1 error: No reasonable alternatives for expression Applying untyped:
    7272  Name: baz
    7373...to:
    7474  Name: y
    7575
    76 completeTypeError.cfa:60:1 error: No reasonable alternatives for expression Applying untyped:
     76errors/completeType.cfa:60:1 error: No reasonable alternatives for expression Applying untyped:
    7777  Name: quux
    7878...to:
    7979  Name: y
    8080
    81 completeTypeError.cfa:72:1 error: No alternatives with satisfiable assertions for Applying untyped:
     81errors/completeType.cfa:72:1 error: No alternatives with satisfiable assertions for Applying untyped:
    8282  Name: baz
    8383...to:
  • tests/errors/.expect/declaration.txt

    r98538288 rcb8a18c  
    1 declarationErrors.cfa:16:1 error: duplicate static in declaration of x1: static const volatile short int
     1errors/declaration.cfa:16:1 error: duplicate static in declaration of x1: static const volatile short int
    22
    3 declarationErrors.cfa:17:1 error: conflicting extern & static in declaration of x2: extern const volatile short int
     3errors/declaration.cfa:17:1 error: conflicting extern & static in declaration of x2: extern const volatile short int
    44
    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 int
     5errors/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
    66
    7 declarationErrors.cfa:19:1 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0
     7errors/declaration.cfa:19:1 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0
    88  with members
    99    i: int
     
    1111
    1212
    13 declarationErrors.cfa:20:1 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1
     13errors/declaration.cfa:20:1 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1
    1414  with members
    1515    i: int
     
    1717
    1818
    19 declarationErrors.cfa:22:1 error: duplicate static in declaration of x6: static const volatile Int
     19errors/declaration.cfa:22:1 error: duplicate static in declaration of x6: static const volatile Int
    2020
    21 declarationErrors.cfa:24:1 error: duplicate const in declaration of f01: static inline function
     21errors/declaration.cfa:24:1 error: duplicate const in declaration of f01: static inline function
    2222  with no parameters
    2323  returning const volatile int
    2424
    2525
    26 declarationErrors.cfa:25:1 error: duplicate volatile in declaration of f02: static inline function
     26errors/declaration.cfa:25:1 error: duplicate volatile in declaration of f02: static inline function
    2727  with no parameters
    2828  returning const volatile int
    2929
    3030
    31 declarationErrors.cfa:26:1 error: duplicate const in declaration of f03: static inline function
     31errors/declaration.cfa:26:1 error: duplicate const in declaration of f03: static inline function
    3232  with no parameters
    3333  returning const volatile int
    3434
    3535
    36 declarationErrors.cfa:27:1 error: duplicate volatile in declaration of f04: static inline function
     36errors/declaration.cfa:27:1 error: duplicate volatile in declaration of f04: static inline function
    3737  with no parameters
    3838  returning const volatile int
    3939
    4040
    41 declarationErrors.cfa:28:1 error: duplicate const in declaration of f05: static inline function
     41errors/declaration.cfa:28:1 error: duplicate const in declaration of f05: static inline function
    4242  with no parameters
    4343  returning const volatile int
    4444
    4545
    46 declarationErrors.cfa:29:1 error: duplicate volatile in declaration of f06: static inline function
     46errors/declaration.cfa:29:1 error: duplicate volatile in declaration of f06: static inline function
    4747  with no parameters
    4848  returning const volatile int
    4949
    5050
    51 declarationErrors.cfa:30:1 error: duplicate const in declaration of f07: static inline function
     51errors/declaration.cfa:30:1 error: duplicate const in declaration of f07: static inline function
    5252  with no parameters
    5353  returning const volatile int
    5454
    5555
    56 declarationErrors.cfa:31:1 error: duplicate const, duplicate volatile in declaration of f08: static inline function
     56errors/declaration.cfa:31:1 error: duplicate const, duplicate volatile in declaration of f08: static inline function
    5757  with no parameters
    5858  returning const volatile int
    5959
    6060
    61 declarationErrors.cfa:33:1 error: duplicate const, duplicate volatile in declaration of f09: static inline function
     61errors/declaration.cfa:33:1 error: duplicate const, duplicate volatile in declaration of f09: static inline function
    6262  with no parameters
    6363  returning const volatile int
    6464
    6565
    66 declarationErrors.cfa:34:1 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function
     66errors/declaration.cfa:34:1 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function
    6767  with no parameters
    6868  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 int
    2 scopeErrors.cfa:20:1 error: duplicate function definition for butThisIsAnError: function
     1errors/scope.cfa:2:1 error: duplicate object definition for thisIsAnError: signed int
     2errors/scope.cfa:20:1 error: duplicate function definition for butThisIsAnError: function
    33... with parameters
    44  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 Void
    5 errors/signature.cfa:6:1 error: Cannot declare a Destructor for type Void
    6 errors/signature.cfa:7:1 error: Cannot declare a Assignment for type Void
    7 errors/signature.cfa:10:1 error: Constructor must have a reference to a type as its first parameter
    8 errors/signature.cfa:11:1 error: Destructor must have a reference to a type as its first parameter
    9 errors/signature.cfa:12:1 error: Assignment must have a reference to a type as its first parameter
     1errors/signature.cfa:2:1 error: Constructors, destructors, and assignment functions require at least one parameter.
     2errors/signature.cfa:3:1 error: Constructors, destructors, and assignment functions require at least one parameter.
     3errors/signature.cfa:4:1 error: Constructors, destructors, and assignment functions require at least one parameter.
     4errors/signature.cfa:5:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
     5errors/signature.cfa:6:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
     6errors/signature.cfa:7:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
     7errors/signature.cfa:10:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
     8errors/signature.cfa:11:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
     9errors/signature.cfa:12:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
  • tests/errors/signature.cfa

    r98538288 rcb8a18c  
    1111void ^?{}(int);
    1212void  ?=?(int);
     13void  ?{}(int *);
     14void ^?{}(int *);
     15void  ?=?(int *);
Note: See TracChangeset for help on using the changeset viewer.