aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-09-14-NegatePointer.c
blob: cb49e46ddb119eb48382009eecdbe8a366003960 (plain)
1
2
3
4
5
6
7
// RUN: %llvmgcc -S %s -o - 
// PR1662

int foo(unsigned char *test) {
  return 0U - (unsigned int )test;
}