android13/external/clang/test/CodeGen/2007-09-14-NegatePointer.c

8 lines
119 B
C
Raw Normal View History

2024-06-22 08:45:49 -04:00
// RUN: %clang_cc1 -emit-llvm %s -o -
// PR1662
int foo(unsigned char *test) {
return 0U - (unsigned int )test;
}