Imported Upstream version 4.7.3
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / lto / pr55660_0.c
1 /* { dg-lto-do run } */
2 /* { dg-extra-ld-options { -funsigned-char } } */
3
4 char n[3] = {'a','b','c'};
5 int foo(char *x)
6 {
7   if (*x == 'b')
8     return (int)*x;
9   *x = 'y';
10   return 0;
11 }