source: tests/nowarn/zero-thunk.cfa

Last change on this file was 58eb9250, checked in by Michael Brooks <mlbrooks@…>, 2 weeks ago

Partly fix #269 and try to fix nightly build. Switch to correct type for polymorphic sizeof(-) on 32-bit.

  • Property mode set to 100644
File size: 181 bytes
Line 
1forall( | { int g( zero_t ); } )
2void f( ) {
3    g( 0 );
4}
5
6forall( T )
7T g( zero_t ) {
8    printf( "%zd\n", sizeof(T) );
9    return (T){};
10}
11
12int main() {
13    f();
14    return 0;
15}
Note: See TracBrowser for help on using the repository browser.