Last change
on this file since 1f6623c 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 | |
---|
1 | forall( | { int g( zero_t ); } ) |
---|
2 | void f( ) { |
---|
3 | g( 0 ); |
---|
4 | } |
---|
5 | |
---|
6 | forall( T ) |
---|
7 | T g( zero_t ) { |
---|
8 | printf( "%zd\n", sizeof(T) ); |
---|
9 | return (T){}; |
---|
10 | } |
---|
11 | |
---|
12 | int main() { |
---|
13 | f(); |
---|
14 | return 0; |
---|
15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.