llvm-for-llvmta/tools/clang/test/CodeGenCXX/PR4827-cast.cpp

6 lines
97 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm -o - %s
struct A;
struct B;
extern A *f();
void a() { (B *) f(); }