~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to tests/simulate/regression/bug-18899.c

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2009-10-31 11:52:10 UTC
  • mfrom: (1.1.8 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091031115210-x0mlijnegkce86fk
Tags: 1:1.6.7-1
* New upstream relese (closes: #544030)
* Added lintian overrides (closes: #553265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* bug #18899: atoi and atol do not handle vertical tab properly
2
 
   $Id: bug-18899.c,v 1.1 2007/02/05 21:35:59 dmix Exp $
3
 
 */
4
 
#include <stdlib.h>
5
 
 
6
 
int main ()
7
 
{
8
 
    if (atoi ("\v12345") != 12345) exit (__LINE__);
9
 
    if (atol ("\v123456") != 123456) exit (__LINE__);
10
 
    return 0;
11
 
}