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