llvm-project/llvm/test/FrontendC/2007-09-14-NegatePointer.c

8 lines
109 B
C

// RUN: %llvmgcc -S %s -o -
// PR1662
int foo(unsigned char *test) {
return 0U - (unsigned int )test;
}