blob: 1fd821c34e8adc4760fd8cb1469d9af0d320c176 [file] [log] [blame]
/* 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" { target sparc64-*-* sparcv9-*-* } } */
short foo() {
short i = (short)(1<<15);
return i;
}