Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / gcc.dg / ultrasp2.c
blob1fd821c34e8adc4760fd8cb1469d9af0d320c176
1 /* Copyright (C) 1999 Free Software Foundation
2 by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3 Simplified from libg++/src/Fix16.cc */
5 /* { dg-do compile } */
6 /* { dg-options "" } */
7 /* { dg-options "-O0" { target sparc64-*-* sparcv9-*-* } } */
9 short foo() {
10 short i = (short)(1<<15);
11 return i;