llvm-project/clang/test/CodeGen/2007-09-14-NegatePointer.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
119 B
C
Raw Normal View History

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