xref: /aosp_15_r20/external/clang/test/CodeGen/2007-09-14-NegatePointer.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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