summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug3424150.c
blob: c7d7f718a99d05c9d34df28621f724fec93287bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
   bug3424150.c
*/

#include <testfwk.h>

#ifndef __SDCC_pdk14 // Lack of memory
unsigned char _pInputBuf[80];
unsigned char _iInputPos;

void OnEditCancel()
{
	if (!_pInputBuf[_iInputPos] && _iInputPos)	
	{
		_iInputPos --;
	}
	_pInputBuf[_iInputPos] = 0;
}
#endif

void
testBug(void)
{
}