summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/PR4827-cast.cpp
blob: 34a840cbdf5b9f5184f8e6f6571e57043ddce117 (about) (plain)
1
2
3
4
5
// RUN: %clang_cc1 -emit-llvm -o - %s
struct A;
struct B;
extern A *f();
void a() { (B *) f(); }