source: doc/theses/jiada_liang_MMath/test2.cc @ 525f7ad

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

add enumeration test programs for different programming languages

  • Property mode set to 100644
File size: 109 bytes
Line 
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.