xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_276.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: msg_276.c,v 1.4 2022/06/22 19:23:18 rillig Exp $	*/
2 # 3 "msg_276.c"
3 
4 // Test for message: '__%s__' is illegal for type '%s' [276]
5 
6 /* expect+1: error: '__real__' is illegal for type 'double' [276] */
7 int real_int = __real__ 0.0;
8 /* expect+1: error: '__imag__' is illegal for type 'double' [276] */
9 int imag_int = __imag__ 0.0;
10