source: doc/proposals/modules-gen-hdr/err-vicious/cu2.src.c@ d2e6f84

Last change on this file since d2e6f84 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: 141 bytes
RevLine 
[b28ce93]1#import auto cu1
2
3//# @
4struct X {
5 double val;
6};
7
8//# @
9struct Y {
10 struct A a;
11};
12
13//# -
14static struct B b __attribute__((unused));
Note: See TracBrowser for help on using the repository browser.