OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / lto / 20090120_0.c
1 /* { dg-lto-options {{-flto -funsigned-char}} } */
2
3 extern void abort ();
4
5 char c = 0xff;
6
7 int
8 main ()
9 {
10  int i = (unsigned) c;
11  if (i < 0)
12    abort ();
13  return 0;
14 }