source: tests/concurrency/ctor-check.cfa @ f90c092

Last change on this file since f90c092 was c26bea2a, checked in by Peter A. Buhr <pabuhr@…>, 17 months ago

first attempt at renaming directory tests/concurrent to tests/concurrency to harmonize with other concurrency directory names

  • Property mode set to 100644
File size: 212 bytes
RevLine 
[56f519b]1#include <monitor.hfa>
2
3monitor Empty {};
4
5struct Test {};
6
7// Should work:
8void ?{}(Test & this, Empty & mutex mon) {}
9
10// Should not work:
11void ?{}(Empty & mutex this) {}
12
13int main(void) {
14        printf("done\n");
15}
Note: See TracBrowser for help on using the repository browser.