Changeset 9bb90a86


Ignore:
Timestamp:
Feb 14, 2017, 3:55:22 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
35cd219
Parents:
138e29e
Message:

Updated tests with errors to add linenumber and filename (not validated by hand)

Location:
src/tests/.expect
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/castError.txt

    r138e29e r9bb90a86  
    1 Error: Can't choose between 3 alternatives for expression Cast of:
     1castError.c:7 error: Can't choose between 3 alternatives for expression Cast of:
    22  Name: f
    33
  • src/tests/.expect/completeTypeError.txt

    r138e29e r9bb90a86  
    1 Error: No reasonable alternatives for expression Applying untyped:
     1completeTypeError.c:34 error: No reasonable alternatives for expression Applying untyped:
    22  Name: *?
    33...to:
     
    55
    66
    7 Error: No reasonable alternatives for expression Applying untyped:
     7completeTypeError.c:36 error: No reasonable alternatives for expression Applying untyped:
    88  Name: baz
    99...to:
     
    1111
    1212
    13 Error: No reasonable alternatives for expression Applying untyped:
     13completeTypeError.c:37 error: No reasonable alternatives for expression Applying untyped:
    1414  Name: quux
    1515...to:
     
    1717
    1818
    19 Error: No reasonable alternatives for expression Applying untyped:
     19completeTypeError.c:58 error: No reasonable alternatives for expression Applying untyped:
    2020  Name: baz
    2121...to:
     
    2323
    2424
    25 Error: No reasonable alternatives for expression Applying untyped:
     25completeTypeError.c:59 error: No reasonable alternatives for expression Applying untyped:
    2626  Name: quux
    2727...to:
     
    2929
    3030
    31 Error: No reasonable alternatives for expression Applying untyped:
     31completeTypeError.c:60 error: No reasonable alternatives for expression Applying untyped:
    3232  Name: *?
    3333...to:
     
    3535
    3636
    37 Error: No reasonable alternatives for expression Applying untyped:
     37completeTypeError.c:72 error: No reasonable alternatives for expression Applying untyped:
    3838  Name: baz
    3939...to:
  • src/tests/.expect/constant0-1DP.txt

    r138e29e r9bb90a86  
    1 Error: duplicate object definition for 0: signed int
    2 Error: duplicate object definition for 0: const signed int
    3 Error: duplicate object definition for 1: signed int
    4 Error: duplicate object definition for 1: const signed int
    5 Error: duplicate object definition for 0: signed int
    6 Error: duplicate object definition for 1: signed int
    7 Error: duplicate object definition for 0: signed int
    8 Error: duplicate object definition for 1: signed int
    9 Error: duplicate object definition for 0: const signed int
    10 Error: duplicate object definition for 1: const signed int
    11 Error: duplicate object definition for 0: const signed int
    12 Error: duplicate object definition for 1: const signed int
    13 Error: duplicate object definition for 0: pointer to signed int
    14 Error: duplicate object definition for 1: pointer to signed int
    15 Error: duplicate object definition for 0: pointer to signed int
    16 Error: duplicate object definition for 1: pointer to signed int
    17 Error: duplicate object definition for 0: pointer to signed int
    18 Error: duplicate object definition for 1: pointer to signed int
    19 Error: duplicate object definition for 0: pointer to signed int
    20 Error: duplicate object definition for 1: pointer to signed int
    21 Error: duplicate object definition for 0: const pointer to signed int
    22 Error: duplicate object definition for 1: const pointer to signed int
    23 Error: duplicate object definition for 0: const pointer to signed int
    24 Error: duplicate object definition for 1: const pointer to signed int
    25 Error: duplicate object definition for 0: const pointer to signed int
    26 Error: duplicate object definition for 1: const pointer to signed int
    27 Error: duplicate object definition for x: const pointer to pointer to signed int
    28 Error: duplicate object definition for 0: pointer to pointer to signed int
    29 Error: duplicate object definition for x: const pointer to pointer to signed int
    30 Error: duplicate object definition for 0: pointer to pointer to signed int
    31 Error: duplicate object definition for x: const pointer to pointer to signed int
    32 Error: duplicate object definition for 0: pointer to pointer to signed int
     1constant0-1.c:14 error: duplicate object definition for 0: signed int
     2constant0-1.c:15 error: duplicate object definition for 0: const signed int
     3constant0-1.c:16 error: duplicate object definition for 1: signed int
     4constant0-1.c:17 error: duplicate object definition for 1: const signed int
     5constant0-1.c:18 error: duplicate object definition for 0: signed int
     6constant0-1.c:18 error: duplicate object definition for 1: signed int
     7constant0-1.c:19 error: duplicate object definition for 0: signed int
     8constant0-1.c:19 error: duplicate object definition for 1: signed int
     9constant0-1.c:20 error: duplicate object definition for 0: const signed int
     10constant0-1.c:20 error: duplicate object definition for 1: const signed int
     11constant0-1.c:21 error: duplicate object definition for 0: const signed int
     12constant0-1.c:21 error: duplicate object definition for 1: const signed int
     13constant0-1.c:39 error: duplicate object definition for 0: pointer to signed int
     14constant0-1.c:39 error: duplicate object definition for 1: pointer to signed int
     15constant0-1.c:40 error: duplicate object definition for 0: pointer to signed int
     16constant0-1.c:40 error: duplicate object definition for 1: pointer to signed int
     17constant0-1.c:41 error: duplicate object definition for 0: pointer to signed int
     18constant0-1.c:41 error: duplicate object definition for 1: pointer to signed int
     19constant0-1.c:42 error: duplicate object definition for 0: pointer to signed int
     20constant0-1.c:42 error: duplicate object definition for 1: pointer to signed int
     21constant0-1.c:43 error: duplicate object definition for 0: const pointer to signed int
     22constant0-1.c:43 error: duplicate object definition for 1: const pointer to signed int
     23constant0-1.c:44 error: duplicate object definition for 0: const pointer to signed int
     24constant0-1.c:44 error: duplicate object definition for 1: const pointer to signed int
     25constant0-1.c:45 error: duplicate object definition for 0: const pointer to signed int
     26constant0-1.c:45 error: duplicate object definition for 1: const pointer to signed int
     27constant0-1.c:46 error: duplicate object definition for x: const pointer to pointer to signed int
     28constant0-1.c:46 error: duplicate object definition for 0: pointer to pointer to signed int
     29constant0-1.c:47 error: duplicate object definition for x: const pointer to pointer to signed int
     30constant0-1.c:47 error: duplicate object definition for 0: pointer to pointer to signed int
     31constant0-1.c:50 error: duplicate object definition for x: const pointer to pointer to signed int
     32constant0-1.c:50 error: duplicate object definition for 0: pointer to pointer to signed int
    3333make: *** [constant0-1DP] Error 1
  • src/tests/.expect/constant0-1NDDP.txt

    r138e29e r9bb90a86  
    1 Error: duplicate object definition for 0: signed int
    2 Error: duplicate object definition for 0: const signed int
    3 Error: duplicate object definition for 1: signed int
    4 Error: duplicate object definition for 1: const signed int
    5 Error: duplicate object definition for 0: signed int
    6 Error: duplicate object definition for 1: signed int
    7 Error: duplicate object definition for 0: signed int
    8 Error: duplicate object definition for 1: signed int
    9 Error: duplicate object definition for 0: const signed int
    10 Error: duplicate object definition for 1: const signed int
    11 Error: duplicate object definition for 0: const signed int
    12 Error: duplicate object definition for 1: const signed int
    13 Error: duplicate object definition for x: pointer to signed int
    14 Error: duplicate object definition for 0: pointer to signed int
    15 Error: duplicate object definition for x: const pointer to signed int
    16 Error: duplicate object definition for 0: const pointer to signed int
     1constant0-1.c:14 error: duplicate object definition for 0: signed int
     2constant0-1.c:15 error: duplicate object definition for 0: const signed int
     3constant0-1.c:16 error: duplicate object definition for 1: signed int
     4constant0-1.c:17 error: duplicate object definition for 1: const signed int
     5constant0-1.c:18 error: duplicate object definition for 0: signed int
     6constant0-1.c:18 error: duplicate object definition for 1: signed int
     7constant0-1.c:19 error: duplicate object definition for 0: signed int
     8constant0-1.c:19 error: duplicate object definition for 1: signed int
     9constant0-1.c:20 error: duplicate object definition for 0: const signed int
     10constant0-1.c:20 error: duplicate object definition for 1: const signed int
     11constant0-1.c:21 error: duplicate object definition for 0: const signed int
     12constant0-1.c:21 error: duplicate object definition for 1: const signed int
     13constant0-1.c:66 error: duplicate object definition for x: pointer to signed int
     14constant0-1.c:66 error: duplicate object definition for 0: pointer to signed int
     15constant0-1.c:67 error: duplicate object definition for x: const pointer to signed int
     16constant0-1.c:67 error: duplicate object definition for 0: const pointer to signed int
    1717make: *** [constant0-1NDDP] Error 1
  • src/tests/.expect/declarationErrors.txt

    r138e29e r9bb90a86  
    1 Error: duplicate static in declaration of x1: static const volatile short int
     1declarationErrors.c:16 error: duplicate static in declaration of x1: static const volatile short int
    22
    3 Error: conflicting extern & static in declaration of x2: extern const volatile short int
     3declarationErrors.c:17 error: conflicting extern & static in declaration of x2: extern const volatile short int
    44
    5 Error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int
     5declarationErrors.c:18 error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int
    66
    7 Error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0
     7declarationErrors.c:19 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0
    88  with members
    99   with body
    1010
    1111
    12 Error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1
     12declarationErrors.c:20 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1
    1313  with members
    1414   with body
    1515
    1616
    17 Error: duplicate static in declaration of x6: static const volatile instance of type Int
     17declarationErrors.c:22 error: duplicate static in declaration of x6: static const volatile instance of type Int
    1818
    19 Error: duplicate const in declaration of f01: static inline function
     19declarationErrors.c:24 error: duplicate const in declaration of f01: static inline function
    2020  with no parameters
    2121  returning const volatile int
    2222
    2323
    24 Error: duplicate volatile in declaration of f02: static inline function
     24declarationErrors.c:25 error: duplicate volatile in declaration of f02: static inline function
    2525  with no parameters
    2626  returning const volatile int
    2727
    2828
    29 Error: duplicate const in declaration of f03: static inline function
     29declarationErrors.c:26 error: duplicate const in declaration of f03: static inline function
    3030  with no parameters
    3131  returning const volatile int
    3232
    3333
    34 Error: duplicate volatile in declaration of f04: static inline function
     34declarationErrors.c:27 error: duplicate volatile in declaration of f04: static inline function
    3535  with no parameters
    3636  returning const volatile int
    3737
    3838
    39 Error: duplicate const in declaration of f05: static inline function
     39declarationErrors.c:28 error: duplicate const in declaration of f05: static inline function
    4040  with no parameters
    4141  returning const volatile int
    4242
    4343
    44 Error: duplicate volatile in declaration of f06: static inline function
     44declarationErrors.c:29 error: duplicate volatile in declaration of f06: static inline function
    4545  with no parameters
    4646  returning const volatile int
    4747
    4848
    49 Error: duplicate const in declaration of f07: static inline function
     49declarationErrors.c:30 error: duplicate const in declaration of f07: static inline function
    5050  with no parameters
    5151  returning const volatile int
    5252
    5353
    54 Error: duplicate const, duplicate volatile in declaration of f08: static inline function
     54declarationErrors.c:31 error: duplicate const, duplicate volatile in declaration of f08: static inline function
    5555  with no parameters
    5656  returning const volatile int
    5757
    5858
    59 Error: duplicate const, duplicate volatile in declaration of f09: static inline function
     59declarationErrors.c:33 error: duplicate const, duplicate volatile in declaration of f09: static inline function
    6060  with no parameters
    6161  returning const volatile int
    6262
    6363
    64 Error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function
     64declarationErrors.c:34 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function
    6565  with no parameters
    6666  returning const restrict volatile _Atomic int
  • src/tests/.expect/dtor-early-exit-ERR1.txt

    r138e29e r9bb90a86  
    1 Error: jump to label 'L1' crosses initialization of y Branch (Goto)
     1dtor-early-exit.c:142 error: jump to label 'L1' crosses initialization of y Branch (Goto)
    22
    33make: *** [dtor-early-exit-ERR1] Error 1
  • src/tests/.expect/dtor-early-exit-ERR2.txt

    r138e29e r9bb90a86  
    1 Error: jump to label 'L2' crosses initialization of y Branch (Goto)
     1dtor-early-exit.c:142 error: jump to label 'L2' crosses initialization of y Branch (Goto)
    22
    33make: *** [dtor-early-exit-ERR2] Error 1
  • src/tests/.expect/memberCtors-ERR1.txt

    r138e29e r9bb90a86  
    1 Error: in void ?{}(struct B *b), field a2 used before being constructed
     1error: in void ?{}(struct B *b), field a2 used before being constructed
    22make: *** [memberCtors-ERR1] Error 1
  • src/tests/.expect/scopeErrors.txt

    r138e29e r9bb90a86  
    1 Error: duplicate object definition for thisIsAnError: signed int
    2 Error: duplicate function definition for butThisIsAnError: function
     1scopeErrors.c:2 error: duplicate object definition for thisIsAnError: signed int
     2scopeErrors.c:20 error: duplicate function definition for butThisIsAnError: function
    33  with parameters
    44    double
Note: See TracChangeset for help on using the changeset viewer.