1// RUN: %clang_cc1 -emit-llvm %s -o -
2// PR1662
3
4int foo(unsigned char *test) {
5  return 0U - (unsigned int )test;
6}
7
8