Ignore:
Timestamp:
Feb 27, 2025, 3:17:20 PM (13 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master, stuck-waitfor-destruct
Children:
3483185
Parents:
9506c70
Message:

That should be the rest of the warnings generated from the tests themselves. There are a few that will probably need updates to the compiler to remove those warnings and a few more that should be clean except for a known error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/raii/ctor-autogen.cfa

    r9506c70 rb8b64c34  
    11// TODO: add error cases (e.g., use of field constructors for managed types, etc.)
    22
    3 enum Color { R, G, B };
     3enum Colour { R, G, B };
    44
    55// empty struct/union should have generated ctor/dtors
     
    2121// struct/union with members with generated ctor/dtors should themselves have generated ctor/dtors
    2222union PopulatedUnion {
    23         Color c;
     23        Colour c;
    2424        U u;
    2525        S s;
     
    2727
    2828struct PopulatedStruct {
    29         Color c;
     29        Colour c;
    3030        U u;
    3131        S s;
     
    109109        S s;
    110110        U u;
    111         Color e;
     111        Colour e = R;
    112112
    113         // identity(R);  Color constant should be Color which is otype
    114         identity(e);  // Color should be an otype
     113        // identity(R);  Colour constant should be Colour which is otype
     114        identity(e);  // Colour should be an otype
    115115        identity(u);  // U should be an otype
    116116        identity(s);  // S should be an otype
     
    139139        identity(dsi);
    140140        identity(dsd);
    141         // identity(dui); // xxx - codegen errors in generated thunk _temp3 (Box-pass-generated assignment return-temporary)
    142         // identity(dud);
     141        identity(dui);
     142        identity(dud);
    143143        identity(dssi);
    144144        identity(dssf);
Note: See TracChangeset for help on using the changeset viewer.