blob: ccb9d73fd8a5e80946ef11ecfdc22de3cfa89050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* $NetBSD: msg_027.c,v 1.8 2023/03/28 14:44:34 rillig Exp $ */
# 3 "msg_027.c"
// Test for message: redeclaration of '%s' [27]
/* lint1-extra-flags: -X 351 */
extern int identifier(void);
/* expect+1: error: redeclaration of 'identifier' with type 'function(void) returning double', expected 'function(void) returning int' [347] */
extern double identifier(void);
enum {
constant,
/* expect+1: error: redeclaration of 'constant' [27] */
constant,
next
};
|