Changeset 666f8a3


Ignore:
Timestamp:
May 23, 2022, 11:14:00 PM (5 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
6dc7011a
Parents:
f820f42
Message:

fix test and expected output for nested functions run on user-thread stacks

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/nested_function.txt

    rf820f42 r666f8a3  
    1 nested_function.cfa: In function '_X1fFi___2':
    2 nested_function.cfa:44:5: error: no return statement in function returning non-void [-Werror=return-type]
    3 nested_function.cfa: In function '_X20get_exception_vtableFS22ThreadCancelled_vtable_S1T__PS15ThreadCancelled_S1T___1':
    4 nested_function.cfa:25:36: warning: unused variable '_retvalue' [-Wunused-variable]
    5 cc1: some warnings being treated as errors
     1j 3 3
     2j 2 2
     3j 2 2
     4j 2 2
     5j 1 1
     6j 1 1
     7j 1 1
     8j 1 1
     9j 1 1
     10j 1 1
     11j 1 1
     12j 1 1
     13j 1 1
     14j 1 1
     15j 1 1
     16j 1 1
     17j 0 0
     18j 0 0
     19j 0 0
     20i 22 22
     21j 3 3
     22j 2 2
     23j 2 2
     24j 2 2
     25j 1 1
     26j 1 1
     27j 1 1
     28j 1 1
     29j 1 1
     30j 1 1
     31j 1 1
     32j 1 1
     33j 1 1
     34j 1 1
     35j 1 1
     36j 1 1
     37j 0 0
     38j 0 0
     39j 0 0
     40i 22 22
     41j 3 3
     42j 2 2
     43j 2 2
     44j 2 2
     45j 1 1
     46j 1 1
     47j 1 1
     48j 1 1
     49j 1 1
     50j 1 1
     51j 1 1
     52j 1 1
     53j 1 1
     54j 1 1
     55j 1 1
     56j 1 1
     57j 0 0
     58j 0 0
     59j 0 0
     60i 22 22
     61j 3 3
     62j 2 2
     63j 2 2
     64j 2 2
     65j 1 1
     66j 1 1
     67j 1 1
     68j 1 1
     69j 1 1
     70j 1 1
     71j 1 1
     72j 1 1
     73j 1 1
     74j 1 1
     75j 1 1
     76j 1 1
     77j 0 0
     78j 0 0
     79j 0 0
     80i 22 22
     81j 3 3
     82j 2 2
     83j 2 2
     84j 2 2
     85j 1 1
     86j 1 1
     87j 1 1
     88j 1 1
     89j 1 1
     90j 1 1
     91j 1 1
     92j 1 1
     93j 1 1
     94j 1 1
     95j 1 1
     96j 1 1
     97j 0 0
     98j 0 0
     99j 0 0
     100i 22 22
  • tests/nested_function.cfa

    rf820f42 r666f8a3  
    1010// Created On       : Mon May 23 22:21:30 2022
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon May 23 22:24:28 2022
    13 // Update Count     : 2
     12// Last Modified On : Mon May 23 23:11:25 2022
     13// Update Count     : 4
    1414//
    1515
     
    2323int values[VALUES];
    2424
    25 void main( T & t ) {
    26         int f() {
     25void main( T & ) {
     26        void f() {
    2727                int i = 0;
    2828                void h( void ) {                                                                // nest routine
Note: See TracChangeset for help on using the changeset viewer.