freebsd-nq/test/CodeGen/PR2413-void-address-cast-error.c
2010-01-01 10:34:51 +00:00

7 lines
121 B
C

// RUN: %clang_cc1 -emit-llvm %s -o -
void f()
{
void *addr;
addr = (void *)( ((long int)addr + 7L) );
}