Ignore:
Timestamp:
Aug 8, 2022, 1:00:27 PM (2 years ago)
Author:
z277zhu <z277zhu@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
428adbc
Parents:
a7d696f
git-author:
z277zhu <z277zhu@…> (08/07/22 22:19:45)
git-committer:
z277zhu <z277zhu@…> (08/08/22 13:00:27)
Message:

add pthread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/collections/stack.cfa

    ra7d696f r20be782  
    33#include <bits/stack.hfa>
    44
    5 struct Fred {
    6                 inline Colable;                                                                 // Plan 9 inheritance
    7                 int i;
    8 };
    9 
    10 Stack(Fred) fred;
    11 
    125int main() {
    136        // Fred test
    147
    15        
     8        struct Fred {
     9                inline Colable;                                                                 // Plan 9 inheritance
     10                int i;
     11        };
    1612        void ?{}( Fred & fred ) { abort(); }
    1713        void ?{}( Fred & fred, int p ) with( fred ) {
     
    2218        }
    2319
    24        
     20        Stack(Fred) fred;
    2521        StackIter(Fred) inter = { fred };
    2622        Fred & f;
Note: See TracChangeset for help on using the changeset viewer.