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