1/* Copyright (C) 1999 Free Software Foundation
2 by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3 Simplified from libg++/src/Fix16.cc */
4
5/* { dg-do compile } */
6/* { dg-options "-O0" } */
7
8short foo() {
9 short i = (short)(1<<15);
10 return i;
11}
12