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