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