Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / valdiag / tests / bug-3043.c
blob0f06fd5d9ac43854532aa82876ea62c87d323e25
1 /* bug-3043.c
3 stm8 and pdk code generator hang on shift by negative literal
4 */
6 #ifdef TEST1
7 void g(void)
11 void fr(int x)
13 if (((x >> -1))) /* WARNING */
14 g(); /* IGNORE */
17 void fl(int x)
19 if (((x << -1))) /* WARNING */
20 g(); /* IGNORE */
22 #endif