Changeset a7d696f for tests


Ignore:
Timestamp:
Aug 3, 2022, 6:32:06 PM (21 months ago)
Author:
z277zhu <z277zhu@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
20be782
Parents:
80d16f8
git-author:
z277zhu <z277zhu@…> (08/03/22 18:24:16)
git-committer:
z277zhu <z277zhu@…> (08/03/22 18:32:06)
Message:

added pthread symbol interpose

Signed-off-by: z277zhu <z277zhu@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/collections/stack.cfa

    r80d16f8 ra7d696f  
    33#include <bits/stack.hfa>
    44
     5struct Fred {
     6                inline Colable;                                                                 // Plan 9 inheritance
     7                int i;
     8};
     9
     10Stack(Fred) fred;
     11
    512int main() {
    613        // Fred test
    714
    8         struct Fred {
    9                 inline Colable;                                                                 // Plan 9 inheritance
    10                 int i;
    11         };
     15       
    1216        void ?{}( Fred & fred ) { abort(); }
    1317        void ?{}( Fred & fred, int p ) with( fred ) {
     
    1822        }
    1923
    20         Stack(Fred) fred;
     24       
    2125        StackIter(Fred) inter = { fred };
    2226        Fred & f;
Note: See TracChangeset for help on using the changeset viewer.