xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-09-14-NegatePointer.c (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
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