Changeset 68cd1ce for src/Tests/Expect-v


Ignore:
Timestamp:
Jun 13, 2015, 8:30:25 AM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
a1d5d2a
Parents:
7bcf74e
Message:

unify and fix storage class

Location:
src/Tests/Expect-v
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/Tests/Expect-v/AsmName.txt

    r7bcf74e r68cd1ce  
    1 x: auto signed int
     1x: extern signed int
    22fred: function
    33    with parameters
  • src/Tests/Expect-v/Attributes.txt

    r7bcf74e r68cd1ce  
    1 Error at line 8 reading token "*"
     1Error at line 58 reading token "*"
  • src/Tests/Expect-v/Context.txt

    r7bcf74e r68cd1ce  
    5454
    5555
    56         Declaration of x: auto type
     56        Declaration of x: extern type
    5757        Declaration of ?=?: automatically generated function
    5858            with parameters
     
    6262              instance of type x (not function type)
    6363
    64         Declaration of y: auto type
     64        Declaration of y: extern type
    6565          with assertions
    6666            instance of context has_r
  • src/Tests/Expect-v/Functions.txt

    r7bcf74e r68cd1ce  
    165165      CompoundStmt
    166166
    167 fII3: auto function
    168     with parameters
    169       i: signed int
    170     returning
    171       signed int
    172     with body
    173       CompoundStmt
    174 
    175 fII4: auto function
     167fII3: extern function
     168    with parameters
     169      i: signed int
     170    returning
     171      signed int
     172    with body
     173      CompoundStmt
     174
     175fII4: extern function
    176176    with parameters
    177177      i: signed int
     
    249249      CompoundStmt
    250250
    251 fO4: auto function
     251fO4: extern function
    252252      accepting unspecified arguments
    253253    returning
     
    260260      CompoundStmt
    261261
    262 fO5: auto function
     262fO5: extern function
    263263      accepting unspecified arguments
    264264    returning
  • src/Tests/Expect-v/TypeGenerator.txt

    r7bcf74e r68cd1ce  
    140140      signed int
    141141
    142 struct S1
    143     with parameters
    144       T: type
    145 
    146 struct S1
    147     with parameters
    148       T: type
    149 
    150     with members
    151       i: instance of type T (not function type)
    152 
    153 ?=?: automatically generated inline static function
    154     with parameters
    155       _dst: pointer to instance of struct S1
    156       _src: instance of struct S1
    157     returning
    158       instance of struct S1
    159     with body
    160       CompoundStmt
    161                   Expression Statement:
    162             Applying untyped:
    163                 Name: ?=?
    164             ...to:
    165                 Address of:
    166                   Member Expression, with field:
    167                     i: instance of type T (not function type)
    168                   from aggregate:
    169                     Applying untyped:
    170                         Name: *?
    171                     ...to:
    172                         Variable Expression: _dst: pointer to instance of struct S1
    173                 Member Expression, with field:
    174                   i: instance of type T (not function type)
    175                 from aggregate:
    176                   Variable Expression: _src: instance of struct S1
    177 
    178                   Return Statement, returning: Variable Expression: _src: instance of struct S1
    179 
    180 
    181 
    182 v1: instance of struct S1
    183   with parameters
    184     signed int
    185 
    186 p: pointer to instance of struct S1
    187   with parameters
    188     signed int
    189 
    190142struct S2
    191143    with parameters
     
    224176
    225177
    226 v2: instance of struct S2
     178v1: instance of struct S3
     179  with parameters
     180    signed int
     181
     182p: pointer to instance of struct S3
     183  with parameters
     184    signed int
     185
     186struct S24
     187    with parameters
     188      T: type
     189
     190    with members
     191      i: instance of type T (not function type)
     192
     193?=?: automatically generated inline static function
     194    with parameters
     195      _dst: pointer to instance of struct S24
     196      _src: instance of struct S24
     197    returning
     198      instance of struct S24
     199    with body
     200      CompoundStmt
     201                  Expression Statement:
     202            Applying untyped:
     203                Name: ?=?
     204            ...to:
     205                Address of:
     206                  Member Expression, with field:
     207                    i: instance of type T (not function type)
     208                  from aggregate:
     209                    Applying untyped:
     210                        Name: *?
     211                    ...to:
     212                        Variable Expression: _dst: pointer to instance of struct S24
     213                Member Expression, with field:
     214                  i: instance of type T (not function type)
     215                from aggregate:
     216                  Variable Expression: _src: instance of struct S24
     217
     218                  Return Statement, returning: Variable Expression: _src: instance of struct S24
     219
     220
     221
     222v2: instance of struct S24
    227223  with parameters
    228224    signed int
Note: See TracChangeset for help on using the changeset viewer.