xref: /llvm-project/clang/test/CodeGen/2007-09-14-NegatePointer.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1 // RUN: %clang_cc1 -emit-llvm %s -o -
2 // PR1662
3 
foo(unsigned char * test)4 int foo(unsigned char *test) {
5   return 0U - (unsigned int )test;
6 }
7 
8