struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-485362.c.in
blob66ca3602fdef5b70b08766f7a9d778a0eaf6db18
1 /** Shows segfault.
2 type: int
3 */
4 #include <testfwk.h>
6 void
7 spoil({type} f)
9 UNUSED(f);
12 void
13 testDivBySelf(void)
15 volatile {type} left, result;
17 left = 17;
18 result = left/left;
20 spoil(result);