source: tests/zombies/gc_no_raii/bug-repro/zero.c @ 0bd6a14

ADTast-experimentalpthread-emulationqualifiedEnum
Last change on this file since 0bd6a14 was fd54fef, checked in by Michael Brooks <mlbrooks@…>, 4 years ago

Converting the project to use the new syntax for otype, dtype and ttytpe.

Changed prelude (gen), libcfa and test suite to use it. Added a simple deprecation rule of the old syntax to the parser; we might wish to support both syntaxes "officially," like with an extra CLI switch, but this measure should serve as a simple reminder for our team to try the new syntax.

  • Property mode set to 100644
File size: 299 bytes
RevLine 
[fd54fef]1forall(T)
[273080f]2struct wrap
3{
4    T val;
5};
6
[fd54fef]7forall(T)
[273080f]8int ?==? (wrap(T) lhs, wrap(T) rhs)
9{
10    return 0;
11}
12
13/*
14struct wrap(int) 0;
15/*/
[fd54fef]16forall(T)
[273080f]17struct wrap(T) 0;
18//*/
19
20int main(int argc, char const *argv[])
21{
22    wrap(int) test;
23    if(test == 0) { return 1; }
24    return 0;
25}
Note: See TracBrowser for help on using the repository browser.