diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-11 03:28:56 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-11 03:28:56 +0000 |
commit | 381fc041cc36ab4d6157686b318f9a120c37fd02 (patch) | |
tree | 058c5dfaa9198f646e96b5bcddce60f2de33df2c /gcc/testsuite/gcc.dg/20021018-1.c | |
parent | 63d3e7373cd731435254834b65a78cf27ec06227 (diff) | |
download | gcc-381fc041cc36ab4d6157686b318f9a120c37fd02.tar.gz |
* gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69210 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20021018-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20021018-1.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/20021018-1.c b/gcc/testsuite/gcc.dg/20021018-1.c index 562aa88e62d..2fef73f623a 100644 --- a/gcc/testsuite/gcc.dg/20021018-1.c +++ b/gcc/testsuite/gcc.dg/20021018-1.c @@ -1,10 +1,10 @@ /* { dg-do run } */ /* { dg-options "-O2 -fpic" } */ -/* { dg-error "overflow" "16-bit target" { target xstormy16-*-* } 0 } */ extern void abort (void); extern void exit (int); +#if __INT_MAX__ >= 2147483647L static const long foo [10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; long __attribute__((noinline)) @@ -20,3 +20,10 @@ main (void) abort (); exit (0); } +#else +int +main (void) +{ + exit (0); +} +#endif |