source: doc/theses/jiada_liang_MMath/test2.cc @ fcf3493

Last change on this file since fcf3493 was 1725989, checked in by Peter A. Buhr <pabuhr@…>, 5 months ago

add enumeration test programs for different programming languages

  • Property mode set to 100644
File size: 109 bytes
RevLine 
[1725989]1struct unit {};
2void foo( void );
3unit bar( unit );
4int main() {
5        unit u;
6        foo( foo() );
7        bar( bar( u ) );
8}
Note: See TracBrowser for help on using the repository browser.