struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-3145.c
blob5e9228c1999fdff1df83641939f9721e1a533a1e
1 /*
2 bug-3254.c. A bug in _Generic handling of implicitly assigned intrinsic named address spaces.
3 */
5 #include <testfwk.h>
7 #include <string.h>
9 char const* a = _Generic("bla", char*: "blu"); // Failed to compile this line due to "bla" being in __code.
11 void testBug(void)
13 ASSERT(!strcmp(a, "blu"));