source: doc/proposals/modules-gen-hdr/err-vicious-typeof/b.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: 214 bytes
Line 
1#import auto vocab
2#import auto a
3
4//# $f
5struct x foo( void ) {
6 struct x ret = {};
7 return ret;
8}
9
10//# $f
11typeof( bar() ) bar2( void ) {
12 struct x ret = {};
13 return ret;
14}
15
16//# $f
17int main () {
18}
Note: See TracBrowser for help on using the repository browser.