llvm-project/clang/test/CodeGenCXX/PR4827-cast.cpp

6 lines
95 B
C++

// RUN: clang-cc -emit-llvm -o - %s
struct A;
struct B;
extern A *f();
void a() { (B *) f(); }