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