source:
tests/nowarn/zero-thunk.cfa@
3c1e432
| Last change on this file since 3c1e432 was 58eb9250, checked in by , 11 months 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.