* gcc.dg/ultrasp2.c: New test.
From-SVN: r30798
This commit is contained in:
parent
883298a5e7
commit
8ab56d5de5
@ -1,3 +1,7 @@
|
||||
1999-12-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* gcc.dg/ultrasp2.c: New test.
|
||||
|
||||
1999-12-05 Alex Samuel <samuel@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.abi/align.C (main): Fix typo.
|
||||
|
16
gcc/testsuite/gcc.dg/ultrasp2.c
Normal file
16
gcc/testsuite/gcc.dg/ultrasp2.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* Copyright (C) 1999 Free Software Foundation
|
||||
by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
Simplified from libg++/src/Fix16.cc */
|
||||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "" } */
|
||||
/* { dg-options "-O0 -m64" { target sparc64-*-* } } */
|
||||
/* { dg-options "-O0 -m64" { target sparcv9-*-* } } */
|
||||
/* { dg-options "-O0 -m64" { target sparc-*-solaris* } } */
|
||||
/* { dg-options "" { target sparc-*-solaris2.[0-6] } } */
|
||||
/* { dg-options "" { target sparc-*-solaris2.[0-6].* } } */
|
||||
|
||||
short foo() {
|
||||
short i = (short)(1<<15);
|
||||
return i;
|
||||
}
|
Loading…
Reference in New Issue
Block a user