llvm-for-llvmta/tools/clang/test/CodeGen/PR2413-void-address-cast-er...

7 lines
121 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o -
void f()
{
void *addr;
addr = (void *)( ((long int)addr + 7L) );
}