summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-3372.c
blob: a136d0912b1cce938c7b111e9064cdd1bda51c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* bug-3372.c
   A bug in integer promotion for unary +
 */

#include <testfwk.h>

char c;
int i = _Generic(+c, int: 1); //  Failed to compile

void testBug(void)
{
}