source:
tests/nowarn/zero-thunk.cfa
@
d84f2ae
Last change on this file since d84f2ae was 58eb9250, checked in by , 2 weeks ago | |
---|---|
|
|
File size: 181 bytes |
Rev | Line | |
---|---|---|
[e0330d2c] | 1 | forall( | { int g( zero_t ); } ) |
2 | void f( ) { | |
3 | g( 0 ); | |
4 | } | |
5 | ||
6 | forall( T ) | |
7 | T g( zero_t ) { | |
[58eb9250] | 8 | printf( "%zd\n", sizeof(T) ); |
[e0330d2c] | 9 | return (T){}; |
10 | } | |
11 | ||
12 | int main() { | |
13 | f(); | |
14 | return 0; | |
15 | } |
Note: See TracBrowser
for help on using the repository browser.