summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint2/msg_008.ln
blob: aa06ae73a901e61b396a82609590ebda593f69ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: msg_008.ln,v 1.3 2021/08/24 23:38:51 rillig Exp $
#
# Test data for message 8 of lint2:
#	%s returns value which is always ignored
#

0 s msg_008.c
S msg_008.c

# 100: bool func(void) { return true }
100 d 0.100 drs 4func F0 B

# 110: func();
110 c 0.110 i 4func f0 B
# 111: func();
111 c 0.111 i 4func f0 B