]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
980526-2.c: Disable for targets with 16bit ints.
authorJeff Law <law@gcc.gnu.org>
Fri, 21 Aug 1998 02:15:12 +0000 (20:15 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 21 Aug 1998 02:15:12 +0000 (20:15 -0600)
        * gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.

From-SVN: r21894

gcc/testsuite/gcc.c-torture/execute/980526-2.c

index 1823a00a0a483c176d95520a33f3a982051bb250..2547147176de99c8cffe5dad31b415691b64c99b 100644 (file)
@@ -50,5 +50,8 @@ int sys_mknod(const char * filename, int mode, dev_t dev)
 
 int main(void)
 {
+       if (sizeof (int) < 4)
+         exit (0);
+
        return sys_mknod("test",1,0x12345678);
 }