source: doc/proposals/modules-gen-hdr/err-vicious-typeof/a.src.c

Last change on this file was b28ce93, checked in by Michael Brooks <mlbrooks@…>, 3 months ago

Add POC illustrating generating headers from compile units

  • Property mode set to 100644
File size: 186 bytes
Line 
1#import auto vocab
2#import auto b
3
4//# $f
5struct x bar( void ) {
6 struct x ret = {};
7 return ret;
8}
9
10//# $f
11typeof( foo() ) foo2( void ) {
12 struct x ret = {};
13 return ret;
14}
Note: See TracBrowser for help on using the repository browser.