struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-3802.c
blobbafbaaf976ddcc4b5a58fd8108c6af5183a50b13
1 /** bug-3802.c: False positive type conversion error involving nullptr
2 */
4 #include <testfwk.h>
6 #ifdef __SDCC
7 _Pragma("std_c23")
8 #endif
10 void testBug(void)
12 #ifdef __SDCC
13 const char *nullCharPtr = nullptr;
14 ASSERT(nullCharPtr == nullptr);
15 #endif