summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/PR2413-void-address-cast-error.c
blob: 3920dfdec2472acea811946bc50c6d105797c8e7 (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm %s -o -
void f()
{
        void *addr;
        addr = (void *)( ((long int)addr + 7L) );
}