source: doc/proposals/modules-gen-hdr/akwd-val-trans/main.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: 202 bytes
Line 
1#import static over_a
2#import static over_b
3
4//# $f
5int main() {
6 int printf( const char *, ... ); // scaffold
7 struct b_t x;
8 x.a.b = & x;
9 over_a( & x.a, 5 );
10 over_b( & x, 5 );
11}
Note: See TracBrowser for help on using the repository browser.