xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_276.c (revision b2baa50111d645353fa30b4deab0f79d93650c8c)
1 /*	$NetBSD: msg_276.c,v 1.5 2023/03/28 14:44:35 rillig Exp $	*/
2 # 3 "msg_276.c"
3 
4 // Test for message: '__%s__' is illegal for type '%s' [276]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 /* expect+1: error: '__real__' is illegal for type 'double' [276] */
9 int real_int = __real__ 0.0;
10 /* expect+1: error: '__imag__' is illegal for type 'double' [276] */
11 int imag_int = __imag__ 0.0;
12