diff options
Diffstat (limited to 'contrib/netbsd-tests/usr.bin/xlint/lint1/d_type_conv3.c')
-rw-r--r-- | contrib/netbsd-tests/usr.bin/xlint/lint1/d_type_conv3.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/usr.bin/xlint/lint1/d_type_conv3.c b/contrib/netbsd-tests/usr.bin/xlint/lint1/d_type_conv3.c new file mode 100644 index 0000000..bc6a8e6 --- /dev/null +++ b/contrib/netbsd-tests/usr.bin/xlint/lint1/d_type_conv3.c @@ -0,0 +1,10 @@ +/* Flag information-losing type conversion in argument lists */ + +int f(unsigned int); + +void +should_fail() +{ + + f(0x7fffffffffffffffLL); +} |