aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-casting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx-casting.cpp')
-rw-r--r--test/Parser/cxx-casting.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Parser/cxx-casting.cpp b/test/Parser/cxx-casting.cpp
index 1e06e981e4..4b11dc8a2b 100644
--- a/test/Parser/cxx-casting.cpp
+++ b/test/Parser/cxx-casting.cpp
@@ -29,3 +29,8 @@ double static_cast_test(int i)
{
return static_cast<double>(i);
}
+
+char postfix_expr_test()
+{
+ return reinterpret_cast<char*>(0xdeadbeef)[0];
+} \ No newline at end of file