diff options
Diffstat (limited to 'clang/test/CodeGenCXX/PR4827-cast.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/PR4827-cast.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/PR4827-cast.cpp b/clang/test/CodeGenCXX/PR4827-cast.cpp new file mode 100644 index 0000000..34a840c --- /dev/null +++ b/clang/test/CodeGenCXX/PR4827-cast.cpp @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -emit-llvm -o - %s +struct A; +struct B; +extern A *f(); +void a() { (B *) f(); } |