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